Exemplo n.º 1
0
        private void openCourse_Click(object sender, EventArgs e)
        {
            CourseForm tempForm = new CourseForm();

            tempForm.Show();
            this.Hide();
        }
        private void Switch_To_Course_Button_Click(object sender, EventArgs e)
        {
            var course = new CourseForm();

            course.Show();
            this.Hide();
        }
        private void Switch_To_Course_Button_Click(object sender, EventArgs e)
        {
            CourseForm tempForm = new CourseForm();

            tempForm.Show();
            this.Hide();
        }
        private void selectObjectButton_Click(object sender, EventArgs e)
        {
            string selected = this.objectBox.GetItemText(this.objectBox.SelectedItem);

            if (selected == "Student")
            {
                StudentForm std = new StudentForm();
                std.Show();
            }

            else if (selected == "Faculty")
            {
                FacultyForm fac = new FacultyForm();
                fac.Show();
            }

            else if (selected == "Major")
            {
                MajorForm maj = new MajorForm();
                maj.Show();
            }

            else if (selected == "Enrollment")
            {
                EnrollmentsForm enr = new EnrollmentsForm();
                enr.Show();
            }

            else if (selected == "Section")
            {
                SectionForm sec = new SectionForm();
                sec.Show();
            }

            else if (selected == "Course")
            {
                CourseForm cor = new CourseForm();
                cor.Show();
            }

            else
            {
                errorLabel.Text = "Please select a form to fill out from the selected criteria.";
            }
        }
Exemplo n.º 5
0
        private void ToCourseMenuButton_Click(object sender, EventArgs e)
        {
            var myForm3 = new CourseForm();

            myForm3.Show();
        }
Exemplo n.º 6
0
        private void OpenCourseFormButton_Click(object sender, EventArgs e)
        {
            var courseForm = new CourseForm();

            courseForm.Show();
        }
Exemplo n.º 7
0
        private void button1_Click_2(object sender, EventArgs e)
        {
            var newForm2 = new CourseForm();

            newForm2.Show();
        }