private void clearToolStripButton_Click(object sender, EventArgs e) { Trace trace = CurrentTrace; if (trace != null) { trace.ClearTrace(); } }