private void EnableToolStripButtons()
{
startToolStripButton.Enabled = CurrentTrace != null && CurrentTrace.Profiler.Status != TraceStatus.Started && CurrentTrace.Profiler.Status != TraceStatus.Closed;
pauseToolStripButton.Enabled = CurrentTrace != null && CurrentTrace.Profiler.Status != TraceStatus.Stopped && CurrentTrace.Profiler.Status != TraceStatus.Closed;
stopToolStripButton.Enabled = CurrentTrace != null && CurrentTrace.Profiler.Status != TraceStatus.Stopped && CurrentTrace.Profiler.Status != TraceStatus.Closed;
}