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(); } }
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(); } }