C2015-022 Separate Windows Upgrade – enable checkbox to open procedure sets in separate windows

This commit is contained in:
John Jenko 2018-03-12 14:28:08 +00:00
parent 5d86f45806
commit 4b3fd3a702
2 changed files with 990 additions and 986 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,6 +17,13 @@ namespace VEPROMS
public partial class frmSysOptions : DevComponents.DotNetBar.Office2007Form public partial class frmSysOptions : DevComponents.DotNetBar.Office2007Form
{ {
bool _initializing; bool _initializing;
private bool _CanChangeSeparateWindowsSetting = true;
public bool CanChangeSeparateWindowsSetting
{
get { return _CanChangeSeparateWindowsSetting; }
set { _CanChangeSeparateWindowsSetting = value; }
}
public frmSysOptions() public frmSysOptions()
{ {
_initializing = true; _initializing = true;
@ -25,7 +32,6 @@ namespace VEPROMS
SaveStartingSettings(); SaveStartingSettings();
cbPropGrid.Visible = VlnSettings.DebugMode; cbPropGrid.Visible = VlnSettings.DebugMode;
btnGeneral.PerformClick(); btnGeneral.PerformClick();
groupPanel9.Visible = false;// Don't allow Separate Windows
_initializing = false; _initializing = false;
} }
@ -227,7 +233,8 @@ namespace VEPROMS
ClearAllCheckedButtons(); ClearAllCheckedButtons();
tcSysOpts.SelectedTab = tiIntrFaceStngs; tcSysOpts.SelectedTab = tiIntrFaceStngs;
btnIntrFaceStngs.Checked = true; btnIntrFaceStngs.Checked = true;
} gpSeparateWindows.Enabled = CanChangeSeparateWindowsSetting; //Separate Windows only if one or less procedure sets open
}
private void cbStepTypeToolTip_CheckedChanged(object sender, EventArgs e) private void cbStepTypeToolTip_CheckedChanged(object sender, EventArgs e)
{ {
Settings.Default.StepTypeToolTip = cbStepTypeToolTip.Checked; Settings.Default.StepTypeToolTip = cbStepTypeToolTip.Checked;