Exemplo n.º 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));
 }
Exemplo n.º 2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     //new MyNotifyIcon();
     //Application.Run();
     LidCloseAwakeKeeper.CheckLogError();
     Application.Run(new MainForm());
 }
Exemplo n.º 3
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));
 }