private void localizedTextsToolStripMenuItem_Click(object sender, EventArgs e) { bool alreadyexist = false; foreach (Form item in MdiChildren) { if (item is GUI.General.localestext.TEXTEditor) { alreadyexist = true; item.Show(); item.Activate(); } } if (!alreadyexist) { GUI.General.localestext.TEXTEditor newForm = new EventAI_Creator.GUI.General.localestext.TEXTEditor(); newForm.MdiParent = this; newForm.Show(); } }
private void localizedTextsToolStripMenuItem_Click(object sender, EventArgs e) { bool alreadyexist = false ; foreach (Form item in MdiChildren) { if (item is GUI.General.localestext.TEXTEditor) { alreadyexist = true; item.Show(); item.Activate(); } } if (!alreadyexist) { GUI.General.localestext.TEXTEditor newForm = new EventAI_Creator.GUI.General.localestext.TEXTEditor(); newForm.MdiParent = this; newForm.Show(); } }