private void BtnListar_Click(object sender, EventArgs e) { FCajaLista Listado = new FCajaLista { TxtFlag = 0.ToString() }; Listado.ShowDialog(); }
private void TxtCod_caja_DoubleClick(object sender, EventArgs e) { FCajaLista Listado = new FCajaLista { TxtFlag = "OPago" }; Dt = ECaja.Mostrar(); if (Dt.Rows.Count == 0) { MensajeError("No Existen Registros Disponibles!"); } else if (Dt.Rows.Count != 0) { Listado.ShowDialog(); } ; }
private void TxtCod_caja_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F12) { FCajaLista Listado = new FCajaLista { TxtFlag = "OPago" }; Dt = ECaja.Mostrar(); if (Dt.Rows.Count == 0) { MensajeError("No Existen Registros Disponibles!"); } else if (Dt.Rows.Count != 0) { Listado.ShowDialog(); } ; } }