예제 #1
0
        private void изФайлаToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            string         path;
            OpenFileDialog OPF = new OpenFileDialog();

            OPF.Filter = "Test files(*.test)|*.test";
            if (OPF.ShowDialog() == DialogResult.OK)
            {
                path = OPF.FileName;
                TestParser parser = new TestParser(path);
                parser.Parse();
                TestProcessing game = new TestProcessing(parser.getRootLink());
                myGUI = new StudentGUI(this, game);
                myGUI.start();
            }
        }
예제 #2
0
 public TeacherGUI(TeacherForm f, TestProcessing _game)
 {
     form = f;
     game = _game;
 }
예제 #3
0
 public StudentGUI(Form1 f, TestProcessing _game)
 {
     form = f;
     game = _game;
 }