コード例 #1
0
ファイル: Program.cs プロジェクト: wade0930/EnglishTest
        private static void Main(string[] args)
        {
            ReadFile                 file      = new ReadFile();
            Model                    textModel = new Model();
            EnglishTestForm          form      = new EnglishTestForm(new PresentationModel(new Model()));
            AboutSpellingCheckerForm form1     = new AboutSpellingCheckerForm();

            if (Environment.OSVersion.Version.Major >= 6)
            {
                SetProcessDPIAware();
            }
            Application.EnableVisualStyles();
            Application.Run(form);
        }
コード例 #2
0
        //help選單跳出另外一個視窗
        private void ClickAboutSpellerToolStripMenuItem(object sender, EventArgs e)
        {
            AboutSpellingCheckerForm form = new AboutSpellingCheckerForm();

            form.ShowDialog();
        }