随笔分类 - Winrorm
摘要:1,用Echarts 显示百度地图的用法(2)写一个 baidu.html2,winform页面放一个WebBrowser控件,用来放地图的html页面3,winform加载时将WebBrowser文件放在baidu.html同一个目录下webBrw_Map.Url = new Uri(Path.C...
阅读全文
摘要:A窗体//用委托声明(传一个当前窗体的页面)public delegate void Determine(AddOperationRulesForm frm);//用event 关键字声明事件对象public event Determine DetermineClick;//在页面做完事,需要关闭窗...
阅读全文
摘要:1,将DataGridView每一行的复选框选中//DataGridView的行大于0行if (dgv_MessageList.Rows.Count > 0) { for (int i = 0; i 0) { for (int i = 0; i < dgv_MessageList.Rows.Cou...
阅读全文
摘要:1,取出角色数据源var role = Role.SelectList();2.设置样式 int x = 0; int width = 11; int hang = 1; CheckBox ckb = null; foreach (var roleDto in role) { if (width >...
阅读全文
摘要:ComboBox:组合框---属性:Text:选中的值Items:组合框中的项Add:添加单个的值AddRange:添加多个的值SelectedIndex:索引值 SelectedValue:隐藏值 ...
阅读全文
摘要:Text:标题Name:唯一标示对象的名称Size:大小(Width:宽度;Heidht:高度)Ico:窗体图标BackColor:背景颜色BackgroundImager:背景图片BackgroundImageLayout:窗体图标布局方式(Center:居中;None:对齐;Stretch:拉伸...
阅读全文

浙公网安备 33010602011771号