Пример #1
0
        private void finish_button_Click(object sender, EventArgs e)
        {
            AddSubjects newAdd = new AddSubjects();

            newAdd.createTemplate();
            this.Close();
        }
        private void print_button_Click(object sender, EventArgs e)
        {
            //new printForm().Show();
            AddSubjects addSubjectsForm = new AddSubjects();

            addSubjectsForm.createTemplate();

            printForm newForm = new printForm();

            newForm.YearXText = yearXText;
            newForm.YearYText = yearYText;
            newForm.Degree    = degree;
            newForm.Grade     = grade;
            newForm.Term      = term;

            newForm.Show();
        }