Пример #1
0
        private void btnIngresosAlmacen_Click(object sender, EventArgs e)
        {
            foreach (Form f in this.MdiChildren)
            {
                if (f.GetType() == typeof(frmGestionIngresos))
                {
                    f.Activate();
                    return;
                }
            }
            Form form1 = new frmGestionIngresos(idUser);

            form1.MdiParent = this;
            form1.Show();
        }
 public void estableceFormulario(frmGestionIngresos frame)
 {
     this.frame = frame;
 }