Esempio n. 1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmStudentProfile frm = new frmStudentProfile();

            frm.Show();
            this.Hide();
        }
Esempio n. 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();
        }