12 2012 档案

摘要:打开另一程序 程序重启 Process类 c#如何用一个程序打开另一个程序(如:窗体的注销重启) 阅读全文
posted @ 2012-12-28 10:45 乡香田甜 阅读(1246) 评论(0) 推荐(0)
摘要:IIS 网站发布 阅读全文
posted @ 2012-12-25 20:08 乡香田甜 阅读(754) 评论(0) 推荐(0)
摘要:实现步骤:1.定义事件2.定义方法3.完善步骤2中的方法 1)在步骤2中的参数方法,定义参数方法,主要获取界面查询条件 2)实现在步骤2中的数据SQL查询语句方法实例操作如下:1.定义事件btnSelectUserList.Click += btnSelectUserList_Click;2.定义方法void btnSelectUserList_Click(object sender, EventArgs e) { SelectUserList(); }3.完善步骤2中的方法 private void SelectUserList() { ... 阅读全文
posted @ 2012-12-19 22:56 乡香田甜 阅读(1811) 评论(0) 推荐(0)
摘要:XtraEditors.RadioGroup 获取控件选择的值 阅读全文
posted @ 2012-12-19 11:54 乡香田甜 阅读(2630) 评论(1) 推荐(0)
摘要:正则表达式 验证 界面验证 阅读全文
posted @ 2012-12-17 10:17 乡香田甜 阅读(785) 评论(1) 推荐(0)
摘要:if (BaseClass.UserCache.ContainsKey(userInfo.CreatedBy ?? -1)) { txtCreateBy.Text = BaseClass.UserCache[userInfo.CreatedBy ?? -1]; } else txtCreateBy.Text = "error";PublicBase.cs类 /// <summary> /// 用户名缓存:key=UserId value=DisPlayName /// </summary> public static Dictionary<in 阅读全文
posted @ 2012-12-15 18:55 乡香田甜 阅读(426) 评论(0) 推荐(0)