public ExitForm() { InitializeComponent(); this.ControlBox = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; watchdog = new WatchDogUtils(); }
private void Form_Load(object sender, EventArgs e) { Console.WriteLine("Form_Load!!!!!!!"); watchdog = new WatchDogUtils(); fsu = new FileStreamUtils(); InitWatchDogDriver(); exitForm = new ExitForm(); exitForm.closeform_event += new ExitForm.closeForm(CloseExitForm); }