public productInternals(updateProduct updateprod) { InitializeComponent(); this.Text = "Actualizar Producto"; this.centralupdate = updateprod; this.db = new DB.dbop(); this.ShowInTaskbar = false; behaviorDefinitions.txtOnlyNumbers(ref this.textBox1); }
private void updatebtn_Click(object sender, EventArgs e) { this.upprod = new updateProduct(this) { MdiParent = this.origen }; this.upprod.Show(); // this.WindowState = FormWindowState.Minimized; }