private void Form1_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; exiting a = new exiting(); a.Show(); }
private void закрытьToolStripMenuItem_Click(object sender, EventArgs e) { exiting a = new exiting(); a.Show(); }