Inheritance: System.Windows.Forms.Form
Exemplo n.º 1
0
 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();
     }
 }