SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  //Instrucciones para abrir formulario desde formulario Menu
  2.       private void btnVender_Click(object sender, EventArgs e)
  3.         {
  4.             FrmVender frmVender = new FrmVender();
  5.             frmVender.Show();
  6.             this.Hide();
  7.         }
  8.  
  9.      //Instrucciones para cerrar la aplicacion desde formulario Menu  
  10.         private void Form1_FormClosing(object sender, FormClosingEventArgs e)
  11.         {
  12.             Application.Exit();
  13.         }
  14.  
  15.     //Instrucciones para abrir formulario Menu y cerrar formulario en el que estes
  16.         private void btnVolver_Click(object sender, EventArgs e)
  17.         {
  18.             this.Close();
  19.            
  20.         }
  21.  
  22.         private void FrmVender_FormClosed(object sender, FormClosedEventArgs e)
  23.         {
  24.             Form1 form1 = new Form1();
  25.             form1.Show();
  26.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top