Menu.cs 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace WindowsFormsApp1
  11. {
  12. public partial class Menu : Form
  13. {
  14. public Menu()
  15. {
  16. InitializeComponent();
  17. }
  18. private void Forma_Click(object sender, EventArgs e)
  19. {
  20. aaa frm = new aaa();
  21. frm.Show();
  22. Hide();
  23. }
  24. private void Forma1_Click(object sender, EventArgs e)
  25. {
  26. @as frm = new @as ();
  27. frm.Show();
  28. Hide();
  29. }
  30. private void button1_Click(object sender, EventArgs e)
  31. {
  32. this.Close();
  33. }
  34. private void test_Click(object sender, EventArgs e)
  35. {
  36. Test frm = new Test();
  37. frm.Show();
  38. Hide();
  39. }
  40. }
  41. }