Form1.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 Харина_Алина_Владимировн2а__18
  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 form2 = new Form2();
  21. form2.Show();
  22. }
  23. private void button2_Click(object sender, EventArgs e)
  24. {
  25. Form3 form3 = new Form3();
  26. form3.Show();
  27. }
  28. private void button3_Click(object sender, EventArgs e)
  29. {
  30. Form4 form4 = new Form4();
  31. form4.Show();
  32. }
  33. private void button4_Click(object sender, EventArgs e)
  34. {
  35. Form5 form5 = new Form5();
  36. form5.Show();
  37. }
  38. private void button5_Click(object sender, EventArgs e)
  39. {
  40. Form6 form6 = new Form6();
  41. form6.Show();
  42. }
  43. }
  44. }