Example #1
0
        //Opens Add_Edit_Class
        private void Edit_View_Classes_Click(object sender, EventArgs e)
        {
            this.Hide();
            Add_Edit_Class classes = new Add_Edit_Class();

            classes.ShowDialog();
            classes.Focus();
        }
Example #2
0
        //Opens form to add a new class.  Form opened is Add_Edit_Class
        private void Add_Class_Click(object sender, EventArgs e)
        {
            Global.addNewTimeOpen = true;
            Add_Edit_Class groupClass = new Add_Edit_Class();

            groupClass.ShowDialog();
            groupClass.Focus();
        }
Example #3
0
        //Opens up the Add_Edit_Class form
        private void Add_Class_Click(object sender, EventArgs e)
        {
            Global.addEditTimeOpen          = true; //Global variable which is used for other forms to know this form isn't hidden
            Global.editingExistingClassTime = false;
            Add_Edit_Class groupClass = new Add_Edit_Class();

            groupClass.ShowDialog();
            groupClass.Focus();
        }