示例#1
0
        public ExitForm()
        {
            InitializeComponent();
            this.ControlBox    = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

            watchdog = new WatchDogUtils();
        }
示例#2
0
        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);
        }