07 2013 档案
摘要:看一个例子:1 interface IFoo2 {3 string Message { get; }4 }则,1 IFoo obj = new IFoo("abd");将会报错:接口不能被实例化。如果: 1 class Foo : IFoo 2 { 3 readonly string name; 4 public Foo(string name) 5 { 6 this.name = name; 7 } 8 string IFoo.Message 9 {10 get11 {12 ...
        阅读全文
                
摘要:ComboBoxCustomizing WPF combo box styleNavigationBuild Your Own Navigation Bar for Data Navigation in WPFWPF NavigationTreeListViewWPF TreeListView Controlhttp://www.codeproject.com/Articles/16009/A-Much-Easier-to-Use-ListViewTreeViewSimplifying the WPF TreeView by Using the ViewModel Pattern
        阅读全文
                
摘要:为了学习自定义控件,就想看看WPF基本元素的代码。使用到工具.NET Reflector。 System.Windows.Controls 命名空间在PresentationFramework.dll中。 Control Class继承关系。 Q:Where can I find System.Windows.Controls.dll and System.Windows.Controls.Data.dll ======================================================== 完整的操作:File -> Open Assembly Li...
        阅读全文
                
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号