private void ToggleMultiFile() { if (CurrentLogWindow != null) { CurrentLogWindow.SwitchMultiFile(!CurrentLogWindow.IsMultiFile); multiFileToolStripMenuItem.Checked = CurrentLogWindow.IsMultiFile; multiFileEnabledStripMenuItem.Checked = CurrentLogWindow.IsMultiFile; } }