Exemplo n.º 1
0
        private void categoríasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCategoria frm = new frmCategoria();

            frm.MdiParent = this;
            frm.Show();
        }
Exemplo n.º 2
0
        private void btnOpenCategoria_Click(object sender, EventArgs e)
        {
            frmCategoria frmOpenCategoria = new frmCategoria();

            frmOpenCategoria.ShowDialog();
            contarProductos();
        }
Exemplo n.º 3
0
 public static frmCategoria GetInstancia()
 {
     if (Instancia == null)
     {
         Instancia = new frmCategoria();
     }
     return(Instancia);
 }
Exemplo n.º 4
0
        private void mnuCategoria_Click(object sender, EventArgs e)
        {
            frmCategoria form = new frmCategoria();

            form.MdiParent = this;

            form.Show();
            form.dataListado.ClearSelection();
        }
        private void categoriasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCategoria frmC = new frmCategoria();

            frmC.Show();
        }
Exemplo n.º 6
0
 private void frmCategoria_FormClosing(object sender, FormClosingEventArgs e)
 {
     Instancia = null;
 }
Exemplo n.º 7
0
 //----------------------------------------------------
 private void frmTbCategoria_Load(object sender, EventArgs e)
 {
     venCategoria = new frmCategoria();
 }
Exemplo n.º 8
0
 private void frmCategoria_FormClosed(object sender, FormClosedEventArgs e)
 {
     _myFormCategoria = null;
 }