Example #1
0
        private void basicTraceToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (basicTraceForm == null)
            {
                basicTraceForm = new BasicTraceForm(this);
                basicTraceForm.FormClosed += new System.Windows.Forms.FormClosedEventHandler(basicTraceForm_FormClosed);
                if (basicIdeForm != null)
                    basicIdeForm.Trace(TraceConstants.All);
            }

            basicTraceForm.Show();
        }
Example #2
0
 private void basicTraceForm_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
 {
     basicTraceForm = null;
     if (basicIdeForm != null)
         basicIdeForm.Trace(TraceConstants.None);
 }