示例#1
0
 public TExcState(IntPtr hWnd = default(IntPtr))
 {
     // Always Need this option
     cur_state_ = Win32API.ES_CONTINUOUS;
     lc_keeper_ = new LidCloseAwakeKeeper(hWnd);
     //lc_keeper_.AddValChangeCB(new ValChangeCB(this.RunValChangeCB));
 }
示例#2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     //new MyNotifyIcon();
     //Application.Run();
     LidCloseAwakeKeeper.CheckLogError();
     Application.Run(new MainForm());
 }
 public TExcState(IntPtr hWnd = default(IntPtr))
 {
     // Always Need this option
     cur_state_ = Win32API.ES_CONTINUOUS;
     lc_keeper_ = new LidCloseAwakeKeeper(hWnd);
     //lc_keeper_.AddValChangeCB(new ValChangeCB(this.RunValChangeCB));
 }