private void btn_Nuevo_Click(object sender, EventArgs e) { btn_Nuevo.Enabled = false; this.Hide(); operacionLetra = "N"; LetraCambio Check = new LetraCambio(); Check.Show(); btn_Nuevo.Enabled = true; }
private void btn_ver_Click(object sender, EventArgs e) { operacionLetra = "V"; try { int index = grd_Facturas.SelectedCells[0].RowIndex; objDocumentoCab = objListaDocumentoCab[index]; this.Hide(); LetraCambio Check = new LetraCambio(); Check.Show(); } catch { MessageBox.Show("No ha seleccionado ningún registro"); } }