01 2024 档案
摘要:下面代码binding没办法实现 // View中代码 <DataGridComboBoxColumn x:Name="comboBoxDev" Header="类型" ItemsSource="{Binding DeviceType}" DisplayMemberPath="{Binding DN
阅读全文
摘要:一.具名方法 具名方法如下Add50,实例化委托时赋值方法名称,C#中的委托像C、C++中的函数指针,保存的是方法的地址(函数指针) public static int Add50(int x) { return x + 50; } // 自定义委托类型 // 注意是自定义类型 delegate i
阅读全文