private void выходToolStripMenuItem_Click(object sender, EventArgs e) { FormEnter form1 = new FormEnter(); form1.Show(); Hide(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); EnterForm = new FormEnter(); Application.Run(EnterForm); }