private void btnCancel_Click(object sender, EventArgs e)
        {
            UpdateStudent frm = new UpdateStudent();

            PreviousForm.Show();
            this.Close();
        }
Пример #2
0
        private void btnModifyStudent_Click(object sender, EventArgs e)
        {
            // Opens the UpdateStudent window to allow for editing of student info or creationg of a new student
            UpdateStudent frm = new UpdateStudent();

            frm.PreviousForm = this;
            frm.Show();
            this.Hide();
        }