private void categoríasToolStripMenuItem_Click(object sender, EventArgs e) { frmCategoria frm = new frmCategoria(); frm.MdiParent = this; frm.Show(); }
private void btnOpenCategoria_Click(object sender, EventArgs e) { frmCategoria frmOpenCategoria = new frmCategoria(); frmOpenCategoria.ShowDialog(); contarProductos(); }
public static frmCategoria GetInstancia() { if (Instancia == null) { Instancia = new frmCategoria(); } return(Instancia); }
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(); }
private void frmCategoria_FormClosing(object sender, FormClosingEventArgs e) { Instancia = null; }
//---------------------------------------------------- private void frmTbCategoria_Load(object sender, EventArgs e) { venCategoria = new frmCategoria(); }
private void frmCategoria_FormClosed(object sender, FormClosedEventArgs e) { _myFormCategoria = null; }