Form3.cs 658 B

1234567891011121314151617181920212223242526272829303132
  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 BBrovki1Z
  11. {
  12. public partial class Form3 : Form
  13. {
  14. public Form3()
  15. {
  16. InitializeComponent();
  17. }
  18. private void button1_Click(object sender, EventArgs e)
  19. {
  20. Application.Exit();
  21. }
  22. private void button2_Click(object sender, EventArgs e)
  23. {
  24. Form2 f2 = new Form2();
  25. f2.Show();
  26. this.Hide();
  27. }
  28. }
  29. }