C2025-022-Remove-UCF-2
This commit is contained in:
@@ -75,24 +75,24 @@ namespace VEPROMS
|
||||
cbEnhancedDocumentSync.Checked = Settings.Default.SyncEnhancedDocuments;
|
||||
cbSeparateWindows.Checked = Settings.Default.SeparateWindows;
|
||||
txbxVisioPath.Text = Settings.Default.VisioPath;
|
||||
switch (Settings.Default.UCFImportOpt) // see dlgExportImport for descripton of these options.
|
||||
{
|
||||
case 0:
|
||||
cbUCFIgnore.Checked = true;
|
||||
break;
|
||||
case 1:
|
||||
cbUCFLNotUsed.Checked = true;
|
||||
break;
|
||||
case 2:
|
||||
cbUCFLOnlyImport.Checked = true;
|
||||
break;
|
||||
case 3:
|
||||
cbUCFLUseAll.Checked = true;
|
||||
break;
|
||||
case 4:
|
||||
cbUCFLForSetOnly.Checked = true;
|
||||
break;
|
||||
}
|
||||
//switch (Settings.Default.UCFImportOpt) // see dlgExportImport for descripton of these options.
|
||||
//{
|
||||
// case 0:
|
||||
// cbUCFIgnore.Checked = true;
|
||||
// break;
|
||||
// case 1:
|
||||
// cbUCFLNotUsed.Checked = true;
|
||||
// break;
|
||||
// case 2:
|
||||
// cbUCFLOnlyImport.Checked = true;
|
||||
// break;
|
||||
// case 3:
|
||||
// cbUCFLUseAll.Checked = true;
|
||||
// break;
|
||||
// case 4:
|
||||
// cbUCFLForSetOnly.Checked = true;
|
||||
// break;
|
||||
//}
|
||||
|
||||
//CSM - C2024-031 - Getting User Settings
|
||||
//and set checkboxes based on what they are set to
|
||||
@@ -193,7 +193,7 @@ namespace VEPROMS
|
||||
private bool ss_SyncEnhancedDocuments;
|
||||
private bool ss_SeparateWindows;
|
||||
private string ss_VisioPath;
|
||||
private int ss_UCFImportOpt;
|
||||
//private int ss_UCFImportOpt;
|
||||
|
||||
private void SaveStartingSettings()
|
||||
{
|
||||
@@ -210,7 +210,7 @@ namespace VEPROMS
|
||||
ss_SyncEnhancedDocuments = Settings.Default.SyncEnhancedDocuments;
|
||||
ss_SeparateWindows = Settings.Default.SeparateWindows;
|
||||
ss_VisioPath = Settings.Default.VisioPath;
|
||||
ss_UCFImportOpt = Settings.Default.UCFImportOpt;
|
||||
//ss_UCFImportOpt = Settings.Default.UCFImportOpt;
|
||||
}
|
||||
|
||||
private void RestoreStartingSettings() // used with the cancel button
|
||||
@@ -227,7 +227,7 @@ namespace VEPROMS
|
||||
Settings.Default.SyncEnhancedDocuments = ss_SyncEnhancedDocuments;
|
||||
Settings.Default.SeparateWindows = ss_SeparateWindows;
|
||||
Settings.Default.VisioPath = ss_VisioPath;
|
||||
Settings.Default.UCFImportOpt = ss_UCFImportOpt;
|
||||
//Settings.Default.UCFImportOpt = ss_UCFImportOpt;
|
||||
}
|
||||
|
||||
|
||||
@@ -315,45 +315,45 @@ namespace VEPROMS
|
||||
Settings.Default.VisioPath = txbxVisioPath.Text;
|
||||
}
|
||||
|
||||
private void cbUCFIgnore_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_initializing)
|
||||
{
|
||||
Settings.Default.UCFImportOpt = 0;
|
||||
}
|
||||
}
|
||||
//private void cbUCFIgnore_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 0;
|
||||
// }
|
||||
//}
|
||||
|
||||
private void cbUCFLNotUsed_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_initializing)
|
||||
{
|
||||
Settings.Default.UCFImportOpt = 1;
|
||||
}
|
||||
}
|
||||
//private void cbUCFLNotUsed_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 1;
|
||||
// }
|
||||
//}
|
||||
|
||||
private void cbUCFLOnlyImport_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_initializing)
|
||||
{
|
||||
Settings.Default.UCFImportOpt = 2;
|
||||
}
|
||||
}
|
||||
//private void cbUCFLOnlyImport_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 2;
|
||||
// }
|
||||
//}
|
||||
|
||||
private void cbUCFLUseAll_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_initializing)
|
||||
{
|
||||
Settings.Default.UCFImportOpt = 3;
|
||||
}
|
||||
}
|
||||
//private void cbUCFLUseAll_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 3;
|
||||
// }
|
||||
//}
|
||||
|
||||
private void cbUCFLForSetOnly_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_initializing)
|
||||
{
|
||||
Settings.Default.UCFImportOpt = 4;
|
||||
}
|
||||
}
|
||||
//private void cbUCFLForSetOnly_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 4;
|
||||
// }
|
||||
//}
|
||||
private void cbOTRemember_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
cbOTAutoOpen.Enabled = cbOTAutoOpen.Visible = cbShwRplWrdsColor.Checked;
|
||||
|
Reference in New Issue
Block a user