VEPROMS_UI / remove BouncyCastle
This commit is contained in:
@@ -1,32 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using DevComponents;
|
||||
using DevComponents.DotNetBar.Rendering;
|
||||
using DevComponents.DotNetBar;
|
||||
using VEPROMS.Properties;
|
||||
using Volian.Base.Library;
|
||||
using DescriptiveEnum;
|
||||
using VEPROMS.CSLA.Library;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmSysOptions : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
bool _initializing;
|
||||
private bool _CanChangeSeparateWindowsSetting = true;
|
||||
readonly bool _initializing;
|
||||
|
||||
public bool CanChangeSeparateWindowsSetting
|
||||
{
|
||||
get { return _CanChangeSeparateWindowsSetting; }
|
||||
set { _CanChangeSeparateWindowsSetting = value; }
|
||||
}
|
||||
public bool CanChangeSeparateWindowsSetting { get; set; } = true;
|
||||
|
||||
private UserSettings _usersettings;
|
||||
private UserSettings _usersettings;
|
||||
|
||||
public frmSysOptions()
|
||||
{
|
||||
@@ -160,8 +149,8 @@ namespace VEPROMS
|
||||
//C2025-013 - Allow not continuously generate message that opening Summaries in MS Word
|
||||
_usersettings.SetUserSetting_MSWord_Summary_Prompt(cbMSWordPrompt.Checked);
|
||||
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
|
||||
private int ss_propPageStyle;
|
||||
@@ -197,7 +186,7 @@ namespace VEPROMS
|
||||
private void RestoreStartingSettings() // used with the cancel button
|
||||
{
|
||||
Settings.Default.PropPageStyle = ss_propPageStyle;
|
||||
Settings.Default.SystemColor = ss_SystemColor;
|
||||
Settings.Default.SystemColor = ss_SystemColor;
|
||||
Settings.Default.TransitionRangeColor = ss_TransRangeColor;
|
||||
Settings.Default.AutoPopUpAnnotations = ss_PopUPAnnotations;
|
||||
Settings.Default.StepTypeToolTip = ss_StepTypeToolTip;
|
||||
@@ -255,52 +244,30 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
|
||||
private void cbAnnotationPopup_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.AutoPopUpAnnotations = cbAnnotationPopup.Checked;
|
||||
}
|
||||
private void cbAnnotationPopup_CheckedChanged(object sender, EventArgs e) => Settings.Default.AutoPopUpAnnotations = cbAnnotationPopup.Checked;
|
||||
|
||||
private void frmSysOptions_Load(object sender, EventArgs e)
|
||||
private void frmSysOptions_Load(object sender, EventArgs e)
|
||||
{
|
||||
ClearAllCheckedButtons();
|
||||
tcSysOpts.SelectedTab = tiIntrFaceStngs;
|
||||
btnIntrFaceStngs.Checked = true;
|
||||
gpSeparateWindows.Enabled = CanChangeSeparateWindowsSetting; //Separate Windows only if one or less procedure sets open
|
||||
}
|
||||
gpSeparateWindows.Enabled = CanChangeSeparateWindowsSetting; //Separate Windows only if one or less procedure sets open
|
||||
}
|
||||
private void cbStepTypeToolTip_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.StepTypeToolTip = cbStepTypeToolTip.Checked;
|
||||
VlnSettings.StepTypeToolTip = cbStepTypeToolTip.Checked;
|
||||
}
|
||||
private void cbTVExpand_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.SaveTreeviewExpanded = cbTVExpand.Checked;
|
||||
}
|
||||
private void cbSeparateWindows_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.SeparateWindows = cbSeparateWindows.Checked;
|
||||
}
|
||||
private void txbxVisioPath_Leave(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.VisioPath = txbxVisioPath.Text;
|
||||
}
|
||||
private void cbTVExpand_CheckedChanged(object sender, EventArgs e) => Settings.Default.SaveTreeviewExpanded = cbTVExpand.Checked;
|
||||
private void cbSeparateWindows_CheckedChanged(object sender, EventArgs e) => Settings.Default.SeparateWindows = cbSeparateWindows.Checked;
|
||||
private void txbxVisioPath_Leave(object sender, EventArgs e) => Settings.Default.VisioPath = txbxVisioPath.Text;
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
RestoreStartingSettings();
|
||||
}
|
||||
private void btnCancel_Click(object sender, EventArgs e) => RestoreStartingSettings();
|
||||
|
||||
private void txbxVisioPath_Leave_1(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.VisioPath = txbxVisioPath.Text;
|
||||
}
|
||||
private void txbxVisioPath_Leave_1(object sender, EventArgs e) => Settings.Default.VisioPath = txbxVisioPath.Text;
|
||||
|
||||
|
||||
private void cbOTRemember_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
cbOTAutoOpen.Enabled = cbOTAutoOpen.Visible = cbShwRplWrdsColor.Checked;
|
||||
}
|
||||
private void cbShwRplWrdsColor_CheckedChanged(object sender, EventArgs e)
|
||||
private void cbOTRemember_CheckedChanged(object sender, EventArgs e) => cbOTAutoOpen.Enabled = cbOTAutoOpen.Visible = cbShwRplWrdsColor.Checked;
|
||||
private void cbShwRplWrdsColor_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Settings.Default.cbShwRplWrdsColor = cbShwRplWrdsColor.Checked;
|
||||
VlnSettings.cbShwRplWrdsColor = cbShwRplWrdsColor.Checked;
|
||||
@@ -308,10 +275,7 @@ namespace VEPROMS
|
||||
Properties.Settings.Default.Save(); // save settings
|
||||
}
|
||||
|
||||
private void cbShwAnnoFilter_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmVEPROMS.tv_SelectAnnotations();
|
||||
}
|
||||
private void cbShwAnnoFilter_Click(object sender, EventArgs e) => frmVEPROMS.tv_SelectAnnotations();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user