摘要:
txtLocPort.KeyPress += Pub.KeyPress_NumInput; /// /// 数字输入 /// /// /// public static void KeyPress_NumInput(object sender, KeyPressEventArgs e) { if ((e.KeyChar '9') && e.KeyChar != 8) e.KeyChar = (char)0; } 阅读全文
摘要:
第一步:本地地图与鹰眼图载入同一地图mapControl.Map.Load(MapInfo.Mapping.MapLoader.CreateFromFile(mapFile.File)); mapControlOver.Map.Load(MapInfo.Mapping.MapLoader.CreateFromFile(mapFile.File));第二步:为mapControl.Map添加viewchang的事件this.mapControl.Map.ViewChangedEvent += new MapInfo.Mapping.ViewChangedEventH... 阅读全文
摘要:
private void DelFenceInTable(Table table,String tableAlias,int id) { try { SearchInfo si = MapInfo.Data.SearchInfoFactory.SearchWhere(""); IResultSetFeatureCollection ifs; if (table != null) //Table exists close it ... 阅读全文
摘要:
this.txtPss.ImeMode = System.Windows.Forms.ImeMode.Disable; 阅读全文