2016年9月28日
摘要: //限制输入不能为中文和全角 private void zhbh_KeyPress(object sender, KeyPressEventArgs e) { int chfrom = Convert .ToInt32("4e00", 16); //范围(0x4e00~0x9fa5)转换成int(c 阅读全文
posted @ 2016-09-28 15:13 yan_jinLiang 阅读(6306) 评论(0) 推荐(0) 编辑
摘要: /// 将容器内容转成图片导出,这里的controller就是this /// </summary> private void OutTheControllerToPic() { Bitmap bitmap = new Bitmap( this.Width, this .Height); DrawT 阅读全文
posted @ 2016-09-28 15:11 yan_jinLiang 阅读(2818) 评论(0) 推荐(0) 编辑
摘要: 1、调用地图并将micaps文件加载地图上 IFileBindingService fbs = ServiceLocator.Current.GetInstance< IFileBindingService>(); ILayer layer = fbs.CreateLayerForFile(new 阅读全文
posted @ 2016-09-28 15:06 yan_jinLiang 阅读(500) 评论(0) 推荐(0) 编辑