コード例 #1
0
        void OpenFileForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            AgentManager.Instance.RemoveAgent(this.Handle);

            removeWatchdogs();

            Form form = new LectureManagerMainForm();
            if (form != null)
            {
                LectureManagerMainForm mainForm = form as LectureManagerMainForm;
                mainForm.LectureFile = FileName;
                Utility.Windows.ShowForm(form);
            }
        }
コード例 #2
0
        void OpenFileForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            AgentManager.Instance.RemoveAgent(this.Handle);

            removeWatchdogs();

            Form form = new LectureManagerMainForm();

            if (form != null)
            {
                LectureManagerMainForm mainForm = form as LectureManagerMainForm;
                mainForm.LectureFile = FileName;
                Utility.Windows.ShowForm(form);
            }
        }