예제 #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmStudentProfile frm = new frmStudentProfile();

            frm.Show();
            this.Hide();
        }
예제 #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            frmStudentProfile frm = new frmStudentProfile();

            frm.studentID = Convert.ToInt32(dgvStudents.SelectedRows[0].Cells[0].Value.ToString());
            frm.Show();
            this.Hide();
        }