コード例 #1
0
 private void crearAlertaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Principal.Comodin = "";
     Principal.CodigoPrincipalAbm = null;
     FrmRegistrarAlarma form = new FrmRegistrarAlarma();
     form.Show();
 }
コード例 #2
0
 private void btnAlarma_Click(object sender, EventArgs e)
 {
     string Patente = txtPatente.Text;
     string Nombre = txtNombre.Text + " " + txtApellido.Text;
     string Union = Patente + "&" + Nombre;
     Principal.Comodin = Union;
     Principal.CodigoPrincipalAbm = null;
               
     FrmRegistrarAlarma form = new FrmRegistrarAlarma();
     form.ShowDialog();
 }
コード例 #3
0
        private void btnEditarAlerta_Click(object sender, EventArgs e)
        {
            if (Grilla.CurrentRow == null)
            {
                MessageBox.Show("Debe seleccionar un registro");
                return;
            }
            Principal.Comodin            = "";
            Principal.CodigoPrincipalAbm = Grilla.CurrentRow.Cells[0].Value.ToString();
            FrmRegistrarAlarma frm = new FrmRegistrarAlarma();

            frm.ShowDialog();
        }
コード例 #4
0
        private void btnAgregarAlerta_Click(object sender, EventArgs e)
        {
            FrmRegistrarAlarma frm = new FrmRegistrarAlarma();

            frm.ShowDialog();
        }