Ejemplo n.º 1
0
 private void FormPrincipal_Load(object sender, EventArgs e)
 {
     this.oTRPRODUCTOToolStripMenuItem.Enabled = false;
     this.uSUARIOSToolStripMenuItem.Enabled = false;
     this.pRODUCTOSToolStripMenuItem.Enabled = false;
     //this.menuStrip1.Enabled = false;
     form_login = FormLogin.FormLogin_Obtener();
     form_login.MdiParent = this;
     form_login.Show();
     //form_login.
     form_login.FormClosed += new FormClosedEventHandler(form_login_FormClosed);
 }
Ejemplo n.º 2
0
 public static FormLogin FormLogin_Obtener() {
     if(instancia_form_login==null)
         instancia_form_login=new FormLogin();          
     return instancia_form_login;
 }