コード例 #1
0
 private void toolStripButton6_Click(object sender, EventArgs e)
 {
     try
     {
         ContratoActual.CODIGO_CONTRATO = dg_Contratos.Rows[dg_Contratos.CurrentCell.RowIndex].Cells[0].Value.ToString();
         Form childFormIngresos = new frmIngresos();
         childFormIngresos.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
コード例 #2
0
 private void toolStripButton6_Click(object sender, EventArgs e)
 {
     try
     {
         ContratoActual.CODIGO_CONTRATO = dg_Contratos.Rows[dg_Contratos.CurrentCell.RowIndex].Cells[0].Value.ToString();
         Form childFormIngresos = new frmIngresos();
         childFormIngresos.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }