예제 #1
0
        private void btnStock_Click(object sender, EventArgs e)
        {
            foreach (Form f in this.MdiChildren)
            {
                if (f.GetType() == typeof(frmGestionStock))
                {
                    f.Activate();
                    return;
                }
            }
            Form form1 = new frmGestionStock(idUser);

            form1.MdiParent = this;
            form1.Show();
        }
 public void estableceFormulario3(frmGestionStock frame3)
 {
     this.frame3 = frame3;
 }