Inheritance: System.Windows.Forms.Form
 private void dgvTermScheme_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 3 && e.RowIndex >= 0)
     {
         BranchTermSchemeForm btsForm = new BranchTermSchemeForm(int.Parse(dgvTermScheme[0, e.RowIndex].Value.ToString()));
         btsForm.Text = dgvTermScheme[1, e.RowIndex].Value.ToString() + "  -  " + dgvTermScheme[2, e.RowIndex].Value.ToString() + "   Term Scheme's";
         this.Hide();
         btsForm.ShowDialog();
         this.Show();
     }
 }
 private void dgvTermScheme_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 3 && e.RowIndex >= 0)
     {
         BranchTermSchemeForm btsForm = new BranchTermSchemeForm(int.Parse(dgvTermScheme[0, e.RowIndex].Value.ToString()));
         btsForm.Text = dgvTermScheme[1, e.RowIndex].Value.ToString() + "  -  " + dgvTermScheme[2, e.RowIndex].Value.ToString() + "   Term Scheme's";
         this.Hide();
         btsForm.ShowDialog();
         this.Show();
     }
 }