Пример #1
0
        public void egresoManual() {
            if (!this.MdiChildren.Contains(Modulo.egreso))
            {
                Egreso e = new Egreso();
                e.MdiParent = this;
                e.StartPosition = FormStartPosition.CenterScreen;
                e.Show();
            }
            else
            {
                Modulo.egreso.Focus();
            }

        }
Пример #2
0
 private void descontarExistenciasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!this.MdiChildren.Contains(Modulo.egreso ))
     {
         Egreso des = new Egreso();
         des.MdiParent = this;
         des.StartPosition = FormStartPosition.CenterScreen;
         des.Show();
     }
     else
     {
         Modulo.egreso.Focus();
     }
 }