コード例 #1
0
ファイル: ExitForm.cs プロジェクト: huchanghui123/watchdog
        public ExitForm()
        {
            InitializeComponent();
            this.ControlBox    = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

            watchdog = new WatchDogUtils();
        }
コード例 #2
0
ファイル: WDTMain.cs プロジェクト: huchanghui123/watchdog
        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);
        }