Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. private void btnCompra_Click(object sender, EventArgs e)
  2. {
  3. this.Hide();
  4. Modal_compra compras = new Modal_compra();
  5. compras.ShowDialog();
  6. this.Close();
  7.  
  8.  
  9. }
  10.  
  11. public Modal_compra()
  12. {
  13. InitializeComponent();
  14.  
  15. }
  16.  
  17. this.Close();
  18.  
  19. private void btnCompra_Click(object sender, EventArgs e)
  20. {
  21. try
  22. {
  23. this.Hide();
  24. Modal_compra compras = new Modal_compra();
  25. compras.ShowDialog();
  26. //this.Close();
  27. }
  28. catch (Exception ex)
  29. {
  30. MessageBox.Show(ex.ToString());
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement