Beispiel #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            btn_adelante.Enabled  = true;
            btn_primero.Enabled   = true;
            btn_atras.Enabled     = true;
            btn_ultimo.Enabled    = true;
            btn_imprimir.Enabled  = true;
            btn_modificar.Enabled = true;

            CapaPresentacion cp = new CapaPresentacion(sNombreTabla, sNombreBD);

            cp.Show();
        }
Beispiel #2
0
 //cierre contable --- marcos perez
 private void cierreContableToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (cc == null)
     {
         cc             = new CapaPresentacion();
         cc.MdiParent   = this;
         cc.FormClosed += new FormClosedEventHandler(cierre_FormClosed);
         cc.Show();
     }
     else
     {
         cc.Activate();
     }
 }
Beispiel #3
0
 void cierre_FormClosed(object sender, EventArgs e)
 {
     cc = null;
 }
 public static void SetCapa(ref CapaPresentacion capaRef)
 {
     capa = capaRef;
 }