private void btoSubLinea_Click(object sender, EventArgs e) { formActivo = "activo"; codCategoria = txtCodCatg.Text; venTbSucCatg = new frmTbSubCateg(); venTbSucCatg.pasado += new frmTbSubCateg.pasar(ejecutarSub); venTbSucCatg.ShowDialog(); }
//-------------------------------------------------------------------------- private void frmSubCategoria1_Load(object sender, EventArgs e) { this.Location = new System.Drawing.Point(0, 0); ventTbSubCategoria = new frmTbSubCateg(); }
private void btnPuntos_Click(object sender, EventArgs e) { ventTbSubCategoria = new frmTbSubCateg(); ventTbSubCategoria.pasado += new frmTbSubCateg.pasar(ejecutar); ventTbSubCategoria.ShowDialog(); }