Пример #1
0
 public static frmIngresoAlmacen GetInstancia()
 {
     if (_instancia == null)
     {
         _instancia = new frmIngresoAlmacen();
     }
     return(_instancia);
 }
Пример #2
0
        private void ingresoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmIngresoAlmacen frm = frmIngresoAlmacen.GetInstancia();

            frm.MdiParent = this;
            frm.Show();

            frm.lblIdUsuario.Text = this.lblIdUsuario.Text;
        }
Пример #3
0
 private void frmIngresoAlmacen_FormClosing(object sender, FormClosingEventArgs e)
 {
     _instancia = null;
 }
Пример #4
0
 public frmIngresoAlmacen()
 {
     InitializeComponent();
     frmIngresoAlmacen.f1 = this;
 }