Form2.cs 1.0 KB

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