private void newFromTemplateToolStripMenuItem_Click(object sender, EventArgs e) { var n = new FormEditor(this); Editors.Add(n); n.Show(); }
private void OpenFile(string filename) { UseWaitCursor = true; Application.DoEvents(); var n = new FormEditor(this, filename); Editors.Add(n); n.Show(); UseWaitCursor = false; }
private void newProgramToolStripMenuItem_Click(object sender, EventArgs e) { var n = new FormEditor(this, null); Editors.Add(n); try { n.Show(); } catch { } }