示例#1
0
 public InformationUpdater(BatteryInfoForm form)
 {
     Form           = form;
     UpdaterThread  = new Thread(this.InformationUpdaterThread);
     _isInterrupted = false;
     UpdaterThread.Start();
 }
示例#2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var batteryForm = new BatteryInfoForm();

            Application.Run(batteryForm);
        }