Example #1
0
        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);
        }
Example #2
0
        //help選單跳出另外一個視窗
        private void ClickAboutSpellerToolStripMenuItem(object sender, EventArgs e)
        {
            AboutSpellingCheckerForm form = new AboutSpellingCheckerForm();

            form.ShowDialog();
        }