摘要:1、定义无操作时间 static int iOperCount = 0;//无操作秒数 static int logoutSecond = 10;//退出倒计时 2、动作后无操作描述归零 //用于记录用户无操作时间 internal class MyMessager : IMessageFilter
阅读全文
摘要:参考链接:https://blog.csdn.net/qiume/article/details/6646506 1、添加类 //日期列 public class CalendarColumn : DataGridViewColumn { public CalendarColumn() : base
阅读全文
摘要:学习链接: a、https://www.cnblogs.com/txw1958/archive/2012/09/05/csharp-BackgroundWorker.html b、https://www.cnblogs.com/zhaoshujie/p/9634136.html 1、定义异步任务 p
阅读全文
摘要:学习链接:https://blog.csdn.net/winterye12/article/details/77370453 1、新建Msg类 class Msg { [DllImport("user32.dll")] //发送消息 public static extern void PostMes
阅读全文
摘要:参考链接:https://blog.csdn.net/huangshunle/article/details/7281683 1、创建用户类 public class User { private int userId; private string faceId; private string u
阅读全文
摘要:参考链接:https://www.cnblogs.com/techdreaming/p/9810172.html 在主Form中添加 var asForm = System.Windows.Automation.AutomationElement.FromHandle(this.Handle);
阅读全文
摘要:参考链接: https://www.cnblogs.com/mmzuo-798/p/9908893.htmlhttps://blog.csdn.net/qq_21567385/article/details/108229055
阅读全文