Пример #1
0
        private void SchoolsGV_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            frmSchools school = new frmSchools();

            school.uIDlbl.Text = (Int32.Parse(UserLoginGV.Rows[e.RowIndex].Cells["ID"].Value.ToString())).ToString();
            school.Show();
        }
Пример #2
0
        private void manageSchoolsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSchools schools = new frmSchools();

            schools.ControlsGB.Visible = true;
            schools.Show();
        }