Главное меню.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 Ogurchenok_11
  11. {
  12. public partial class Form1 : Form
  13. {
  14. public Form1()
  15. {
  16. InitializeComponent();
  17. }
  18. private void button1_Click(object sender, EventArgs e)
  19. {
  20. Form2 newForm = new Form2();
  21. newForm.Show();
  22. }
  23. private void Form1_Load(object sender, EventArgs e)
  24. {
  25. }
  26. private void button2_Click(object sender, EventArgs e)
  27. {
  28. Form4 newForm = new Form4();
  29. newForm.Show();
  30. }
  31. private void button3_Click(object sender, EventArgs e)
  32. {
  33. Form6 newForm = new Form6();
  34. newForm.Show();
  35. }
  36. private void button4_Click(object sender, EventArgs e)
  37. {
  38. Form8 newForm = new Form8();
  39. newForm.Show();
  40. }
  41. }
  42. }