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 Bortnikov { public partial class CardEdit : Form { public CardEdit() { InitializeComponent(); } private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { this.Hide(); MainForm mainForm = new MainForm(); mainForm.ShowDialog(); } } }