2021年12月21日
摘要: this.Invoke(new Action(() => { this.btnReplay.Enabled = true; })); //定义 public delegate void OnUpdateMessEventHandler(string mess); public event OnUpd 阅读全文
posted @ 2021-12-21 14:42 小石头的一天 阅读(46) 评论(0) 推荐(0)
摘要: 绑定datatable 数据源的如下 ,如果不指定列 ,会出现一般selectedtxt获取不到值的问题 一下是测试: 如果 comboBox1.ValueMember = "col1"; 未指定列 则只能 强制转: var s= (DataRowView)comboBox1.SelectedVal 阅读全文
posted @ 2021-12-21 14:12 小石头的一天 阅读(117) 评论(0) 推荐(0)