Пример #1
0
        private void basicEditorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (basicIdeForm == null)
            {
                basicIdeForm = new BasicIdeForm(this);
                basicIdeForm.DebugTrace += new EventHandler<TextEventArgs>(basicIdeForm_DebugTrace);
                if (basicTraceForm != null)
                    basicIdeForm.Trace(TraceConstants.All);

                basicIdeForm.FormClosed += new System.Windows.Forms.FormClosedEventHandler(basicIdeForm_FormClosed);
                basicIdeForm.Initialize += new EventHandler<InitializeArgs>(basicIdeForm_Initialize);
            }

            basicIdeForm.Show();
        }
Пример #2
0
 private void basicIdeForm_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
 {
     basicIdeForm = null;
     if (basicTraceForm != null)
         basicTraceForm.Close();
 }