private void dumpBufferDiagnosticToolStripMenuItem_Click(object sender, EventArgs e) { #if DEBUG if (CurrentLogWindow != null) { CurrentLogWindow.DumpBufferDiagnostic(); } #endif }
private void OnDumpBufferDiagnosticToolStripMenuItemClick(object sender, EventArgs e) { #if DEBUG CurrentLogWindow?.DumpBufferDiagnostic(); #endif }