using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace BBrovki1Z { public partial class Form10 : Form { public Form10() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { // Закрытие программы Application.Exit(); } private void button2_Click(object sender, EventArgs e) { // возвращает на форму 7 Form7 f7 = new Form7(); f7.Show(); this.Hide(); } } }