C2025-022-Remove-UCF-2

This commit is contained in:
2025-09-03 12:32:05 -04:00
parent b999f17445
commit 58f13eb1dc
10 changed files with 11 additions and 912 deletions

View File

@@ -75,24 +75,6 @@ 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;
//}
//CSM - C2024-031 - Getting User Settings
//and set checkboxes based on what they are set to
@@ -118,6 +100,7 @@ namespace VEPROMS
Settings.Default.PastePlainText = cbPastePlainText.Checked;
}
}
private void cbPasteNoReturns_CheckedChanged(object sender, EventArgs e)
{
if (!_initializing)
@@ -193,7 +176,6 @@ namespace VEPROMS
private bool ss_SyncEnhancedDocuments;
private bool ss_SeparateWindows;
private string ss_VisioPath;
//private int ss_UCFImportOpt;
private void SaveStartingSettings()
{
@@ -210,7 +192,6 @@ namespace VEPROMS
ss_SyncEnhancedDocuments = Settings.Default.SyncEnhancedDocuments;
ss_SeparateWindows = Settings.Default.SeparateWindows;
ss_VisioPath = Settings.Default.VisioPath;
//ss_UCFImportOpt = Settings.Default.UCFImportOpt;
}
private void RestoreStartingSettings() // used with the cancel button
@@ -227,7 +208,6 @@ namespace VEPROMS
Settings.Default.SyncEnhancedDocuments = ss_SyncEnhancedDocuments;
Settings.Default.SeparateWindows = ss_SeparateWindows;
Settings.Default.VisioPath = ss_VisioPath;
//Settings.Default.UCFImportOpt = ss_UCFImportOpt;
}
@@ -315,45 +295,7 @@ namespace VEPROMS
Settings.Default.VisioPath = txbxVisioPath.Text;
}
//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 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 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;