public void ShowOutput() { if (!menuItemOutput.Checked) { output.Show(dockPanel, DockState.DockBottomAutoHide); } else { output.Hide(); } menuItemOutput.Checked = !menuItemOutput.Checked; }
public void ShowOutput() { if (menuItemOutput.Checked == false) { output.Show(dockPanel); menuItemOutput.Checked = true; } else { output.Hide(); menuItemOutput.Checked = false; } }
public void ShowOutput(Boolean isJustChageCheckedState = false) { if (isJustChageCheckedState) { menuItemOutput.Checked = !menuItemOutput.Checked; return; } if (!menuItemOutput.Checked) { output.Show(dockPanel, DockState.DockBottomAutoHide); menuItemOutput.Checked = true; } else { output.Hide(); menuItemOutput.Checked = false; } }