判断点是否位于面域上
摘要:private PointContainment GetPointContainment(Region region, Point3d point) { PointContainment result = PointContainment.Outside;//在外部 //PointContainme
阅读全文
获取contextMenuStrip绑定的按键
摘要:contextMenuStrip3.SourceControl
阅读全文
ListBox绑定dataTable的列
摘要:private void SelectBridge(DataTable DT,string FieldNmae) { BindingSource bs = new BindingSource(); bs.DataSource = DT; bridge.DataSource =bs; bridge.D
阅读全文
c#combox控件绑定枚举
摘要:private void Form1_Load(object sender, EventArgs e) { comboBox1.DataSource= System.Enum.GetNames(typeof(TestEnum)); }
阅读全文