/// <summary> /// Создание окна SWindow /// </summary> /// <param name="sender">object</param> /// <param name="e">EventArgs</param> public void WindowToolStripMenuItem_Click(object sender, EventArgs e) { if (SWindowClosing == true) { SWindow Sw = new SWindow(); SWindowClosing = false; Sw.Show(); } }
// убрать данные переполнения /// <summary> /// Создание окна SWindow /// </summary> /// <param name="sender">object</param> /// <param name="e">EventArgs</param> public void WindowToolStripMenuItem_Click(object sender, EventArgs e) { if (SWindowClosing == true) { #region Создание окна SWindow SWindow f2 = new SWindow(); SWindowClosing = false; f2.Show(); #endregion } }