摘要: void PrintCtrlName(Control parent) { foreach(Contrl ctrl in parent.Controls) { Print(ctrl.Name); if(ctrl.Controls.Count >0) { PrintCtrlName(ctrl); } } 阅读全文
posted @ 2018-12-24 22:04 hanje 阅读(1204) 评论(0) 推荐(1) 编辑
摘要: [转]https://www.cnblogs.com/liushenglin/p/5350641.html 一、C#中弹出窗口位置 加入命名空间using System.Drawing和using System.Windows.Forms假定窗口名为form1,则 form1.StartPositi 阅读全文
posted @ 2018-12-24 20:55 hanje 阅读(2568) 评论(0) 推荐(0) 编辑
摘要: 【转】Winform(C#)输入完毕后,按Enter键触发Button事件 原文地址:https://blog.csdn.net/zuorucsdn/article/details/80486263 如在输入“用户名”和“密码”之后,有些人习惯按“回车键”来代替页面上的“确定”按钮,那么这一功能在W 阅读全文
posted @ 2018-12-24 15:23 hanje 阅读(4118) 评论(1) 推荐(1) 编辑