mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
add acl for option pages
This commit is contained in:
12
mRemoteNG/Properties/OptionsAdvancedPage.Designer.cs
generated
12
mRemoteNG/Properties/OptionsAdvancedPage.Designer.cs
generated
@@ -94,5 +94,17 @@ namespace mRemoteNG.Properties {
|
||||
this["RdpLoadBalanceInfoUseUtf8"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbAdvancedPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbAdvancedPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbAdvancedPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,5 +20,8 @@
|
||||
<Setting Name="RdpLoadBalanceInfoUseUtf8" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbAdvancedPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -82,5 +82,17 @@ namespace mRemoteNG.Properties {
|
||||
this["ShowCompleteConsPathInTitle"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbAppearancePageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbAppearancePageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbAppearancePageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,8 @@
|
||||
<Setting Name="ShowCompleteConsPathInTitle" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbAppearancePageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -205,7 +205,7 @@ namespace mRemoteNG.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbBacupPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbBacupPageInOptionMenu"]));
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<Value Profile="(Default)">0</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbBacupPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -46,5 +46,17 @@ namespace mRemoteNG.Properties {
|
||||
this["ConnectrionFilePath"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbConnectionsPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbConnectionsPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbConnectionsPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,5 +8,8 @@
|
||||
<Setting Name="ConnectrionFilePath" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="cbConnectionsPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -82,5 +82,17 @@ namespace mRemoteNG.Properties {
|
||||
this["EmptyCredentials"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbCredentialsPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbCredentialsPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbCredentialsPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,8 @@
|
||||
<Setting Name="EmptyCredentials" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">noinfo</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbCredentialsPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
12
mRemoteNG/Properties/OptionsDBsPage.Designer.cs
generated
12
mRemoteNG/Properties/OptionsDBsPage.Designer.cs
generated
@@ -106,5 +106,17 @@ namespace mRemoteNG.Properties {
|
||||
this["SQLPass"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbDBsPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbDBsPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbDBsPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,5 +23,8 @@
|
||||
<Setting Name="SQLPass" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="cbDBsPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -226,5 +226,17 @@ namespace mRemoteNG.Properties {
|
||||
this["TextLogMessageWriterWriteWarningMsgs"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbNotificationsPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbNotificationsPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbNotificationsPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,5 +53,8 @@
|
||||
<Setting Name="TextLogMessageWriterWriteWarningMsgs" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbNotificationsPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
12
mRemoteNG/Properties/OptionsSecurityPage.Designer.cs
generated
12
mRemoteNG/Properties/OptionsSecurityPage.Designer.cs
generated
@@ -70,5 +70,17 @@ namespace mRemoteNG.Properties {
|
||||
this["EncryptionKeyDerivationIterations"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbSecurityPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbSecurityPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbSecurityPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,5 +14,8 @@
|
||||
<Setting Name="EncryptionKeyDerivationIterations" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">10000</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbSecurityPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -82,5 +82,17 @@ namespace mRemoteNG.Properties {
|
||||
this["OpenConsFromLastSession"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbStartupExitPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbStartupExitPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbStartupExitPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,8 @@
|
||||
<Setting Name="OpenConsFromLastSession" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbStartupExitPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -142,5 +142,17 @@ namespace mRemoteNG.Properties {
|
||||
this["AlwaysShowPanelSelectionDlg"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbTabsPanelsPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbTabsPanelsPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbTabsPanelsPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,5 +32,8 @@
|
||||
<Setting Name="AlwaysShowPanelSelectionDlg" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbTabsPanelsPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
12
mRemoteNG/Properties/OptionsThemePage.Designer.cs
generated
12
mRemoteNG/Properties/OptionsThemePage.Designer.cs
generated
@@ -46,5 +46,17 @@ namespace mRemoteNG.Properties {
|
||||
this["ThemeName"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbThemePageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbThemePageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbThemePageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,5 +8,8 @@
|
||||
<Setting Name="ThemeName" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="cbThemePageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
12
mRemoteNG/Properties/OptionsUpdatesPage.Designer.cs
generated
12
mRemoteNG/Properties/OptionsUpdatesPage.Designer.cs
generated
@@ -184,5 +184,17 @@ namespace mRemoteNG.Properties {
|
||||
this["CheckForUpdatesAsked"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool cbUpdatesPageInOptionMenu {
|
||||
get {
|
||||
return ((bool)(this["cbUpdatesPageInOptionMenu"]));
|
||||
}
|
||||
set {
|
||||
this["cbUpdatesPageInOptionMenu"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="mRemoteNG.Properties" GeneratedClassName="Update">
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="mRemoteNG.Properties" GeneratedClassName="OptionsUpdatesPage">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="UpdatePending" Type="System.Boolean" Scope="User">
|
||||
@@ -44,5 +44,8 @@
|
||||
<Setting Name="CheckForUpdatesAsked" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="cbUpdatesPageInOptionMenu" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
2
mRemoteNG/Properties/rbac.Designer.cs
generated
2
mRemoteNG/Properties/rbac.Designer.cs
generated
@@ -25,7 +25,7 @@ namespace mRemoteNG.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("UserRole")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("AdminRole")]
|
||||
public string ActiveRole {
|
||||
get {
|
||||
return ((string)(this["ActiveRole"]));
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="ActiveRole" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">UserRole</Value>
|
||||
<Value Profile="(Default)">AdminRole</Value>
|
||||
</Setting>
|
||||
<Setting Name="AdminRolePassword" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">mR3m0t3NG!</Value>
|
||||
|
||||
326
mRemoteNG/UI/Forms/OptionsPages/BackupPage.Designer.cs
generated
326
mRemoteNG/UI/Forms/OptionsPages/BackupPage.Designer.cs
generated
@@ -37,18 +37,12 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
this.cbConnectionBackupFrequency = new System.Windows.Forms.ComboBox();
|
||||
this.lblConnectionsBackupMaxCount = new System.Windows.Forms.Label();
|
||||
this.numMaxBackups = new System.Windows.Forms.NumericUpDown();
|
||||
this.cbBackupEnableACL = new System.Windows.Forms.ComboBox();
|
||||
this.pnlBackupEnable = new System.Windows.Forms.Panel();
|
||||
this.rbBackupEnableEnable = new System.Windows.Forms.RadioButton();
|
||||
this.rbBackupEnableDisable = new System.Windows.Forms.RadioButton();
|
||||
this.pnlBackupType = new System.Windows.Forms.Panel();
|
||||
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
||||
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
||||
this.cbBackupFrequencyACL = new System.Windows.Forms.ComboBox();
|
||||
this.cbBackupTypeACL = new System.Windows.Forms.ComboBox();
|
||||
this.cbBackupNumberACL = new System.Windows.Forms.ComboBox();
|
||||
this.cbBackupNameFormatACL = new System.Windows.Forms.ComboBox();
|
||||
this.cbBackupLocationACL = new System.Windows.Forms.ComboBox();
|
||||
this.lblConnectionsBackupPath = new System.Windows.Forms.Label();
|
||||
this.txtConnectionsBackupPath = new System.Windows.Forms.TextBox();
|
||||
this.btnBrowsePath = new System.Windows.Forms.Button();
|
||||
@@ -58,11 +52,29 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
this.pnlShowForUser = new System.Windows.Forms.Panel();
|
||||
this.cbBacupPageInOptionMenu = new System.Windows.Forms.CheckBox();
|
||||
this.lblACL = new System.Windows.Forms.Label();
|
||||
this.plBackupEnableACL = new System.Windows.Forms.Panel();
|
||||
this.cbBackupEnableACL = new System.Windows.Forms.ComboBox();
|
||||
this.plBackupType = new System.Windows.Forms.Panel();
|
||||
this.cbBackupTypeACL = new System.Windows.Forms.ComboBox();
|
||||
this.plBackupFrequency = new System.Windows.Forms.Panel();
|
||||
this.cbBackupFrequencyACL = new System.Windows.Forms.ComboBox();
|
||||
this.plBackupNumber = new System.Windows.Forms.Panel();
|
||||
this.cbBackupNumberACL = new System.Windows.Forms.ComboBox();
|
||||
this.plBackupNameFormat = new System.Windows.Forms.Panel();
|
||||
this.cbBackupNameFormatACL = new System.Windows.Forms.ComboBox();
|
||||
this.plBackupLocation = new System.Windows.Forms.Panel();
|
||||
this.cbBackupLocationACL = new System.Windows.Forms.ComboBox();
|
||||
this.tableLayoutPanelBackupFile.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numMaxBackups)).BeginInit();
|
||||
this.pnlBackupEnable.SuspendLayout();
|
||||
this.pnlBackupType.SuspendLayout();
|
||||
this.pnlShowForUser.SuspendLayout();
|
||||
this.plBackupEnableACL.SuspendLayout();
|
||||
this.plBackupType.SuspendLayout();
|
||||
this.plBackupFrequency.SuspendLayout();
|
||||
this.plBackupNumber.SuspendLayout();
|
||||
this.plBackupNameFormat.SuspendLayout();
|
||||
this.plBackupLocation.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tableLayoutPanelBackupFile
|
||||
@@ -79,14 +91,8 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.cbConnectionBackupFrequency, 2, 3);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.lblConnectionsBackupMaxCount, 1, 4);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.numMaxBackups, 2, 4);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.cbBackupEnableACL, 0, 1);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.pnlBackupEnable, 2, 1);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.pnlBackupType, 2, 2);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.cbBackupFrequencyACL, 0, 3);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.cbBackupTypeACL, 0, 2);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.cbBackupNumberACL, 0, 4);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.cbBackupNameFormatACL, 0, 5);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.cbBackupLocationACL, 0, 6);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.lblConnectionsBackupPath, 1, 6);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.txtConnectionsBackupPath, 2, 6);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.btnBrowsePath, 3, 6);
|
||||
@@ -95,6 +101,12 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.lblBacupPageShowInOptionsMenu, 1, 0);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.pnlShowForUser, 2, 0);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.lblACL, 0, 0);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.plBackupEnableACL, 0, 1);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.plBackupType, 0, 2);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.plBackupFrequency, 0, 3);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.plBackupNumber, 0, 4);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.plBackupNameFormat, 0, 5);
|
||||
this.tableLayoutPanelBackupFile.Controls.Add(this.plBackupLocation, 0, 6);
|
||||
this.tableLayoutPanelBackupFile.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanelBackupFile.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
|
||||
this.tableLayoutPanelBackupFile.Location = new System.Drawing.Point(0, 0);
|
||||
@@ -115,9 +127,9 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
//
|
||||
this.lblBackupType.AutoSize = true;
|
||||
this.lblBackupType.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblBackupType.Location = new System.Drawing.Point(92, 60);
|
||||
this.lblBackupType.Location = new System.Drawing.Point(103, 57);
|
||||
this.lblBackupType.Name = "lblBackupType";
|
||||
this.lblBackupType.Size = new System.Drawing.Size(171, 27);
|
||||
this.lblBackupType.Size = new System.Drawing.Size(165, 30);
|
||||
this.lblBackupType.TabIndex = 20;
|
||||
this.lblBackupType.Text = "Backup type";
|
||||
this.lblBackupType.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
@@ -126,9 +138,9 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
//
|
||||
this.lblBackupEnable.AutoSize = true;
|
||||
this.lblBackupEnable.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblBackupEnable.Location = new System.Drawing.Point(92, 33);
|
||||
this.lblBackupEnable.Location = new System.Drawing.Point(103, 27);
|
||||
this.lblBackupEnable.Name = "lblBackupEnable";
|
||||
this.lblBackupEnable.Size = new System.Drawing.Size(171, 27);
|
||||
this.lblBackupEnable.Size = new System.Drawing.Size(165, 30);
|
||||
this.lblBackupEnable.TabIndex = 18;
|
||||
this.lblBackupEnable.Text = "Backups for connection data";
|
||||
this.lblBackupEnable.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
@@ -137,9 +149,9 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
//
|
||||
this.lblConnectionsBackupFrequency.AutoSize = true;
|
||||
this.lblConnectionsBackupFrequency.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblConnectionsBackupFrequency.Location = new System.Drawing.Point(92, 87);
|
||||
this.lblConnectionsBackupFrequency.Location = new System.Drawing.Point(103, 87);
|
||||
this.lblConnectionsBackupFrequency.Name = "lblConnectionsBackupFrequency";
|
||||
this.lblConnectionsBackupFrequency.Size = new System.Drawing.Size(171, 29);
|
||||
this.lblConnectionsBackupFrequency.Size = new System.Drawing.Size(165, 30);
|
||||
this.lblConnectionsBackupFrequency.TabIndex = 14;
|
||||
this.lblConnectionsBackupFrequency.Text = "Connection Backup Frequency";
|
||||
this.lblConnectionsBackupFrequency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
@@ -149,7 +161,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
this.cbConnectionBackupFrequency.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.cbConnectionBackupFrequency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbConnectionBackupFrequency.FormattingEnabled = true;
|
||||
this.cbConnectionBackupFrequency.Location = new System.Drawing.Point(269, 92);
|
||||
this.cbConnectionBackupFrequency.Location = new System.Drawing.Point(274, 92);
|
||||
this.cbConnectionBackupFrequency.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3);
|
||||
this.cbConnectionBackupFrequency.Name = "cbConnectionBackupFrequency";
|
||||
this.cbConnectionBackupFrequency.Size = new System.Drawing.Size(208, 21);
|
||||
@@ -159,42 +171,29 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
//
|
||||
this.lblConnectionsBackupMaxCount.AutoSize = true;
|
||||
this.lblConnectionsBackupMaxCount.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblConnectionsBackupMaxCount.Location = new System.Drawing.Point(92, 116);
|
||||
this.lblConnectionsBackupMaxCount.Location = new System.Drawing.Point(103, 117);
|
||||
this.lblConnectionsBackupMaxCount.Name = "lblConnectionsBackupMaxCount";
|
||||
this.lblConnectionsBackupMaxCount.Size = new System.Drawing.Size(171, 28);
|
||||
this.lblConnectionsBackupMaxCount.Size = new System.Drawing.Size(165, 30);
|
||||
this.lblConnectionsBackupMaxCount.TabIndex = 13;
|
||||
this.lblConnectionsBackupMaxCount.Text = "Maximum number of backups";
|
||||
this.lblConnectionsBackupMaxCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// numMaxBackups
|
||||
//
|
||||
this.numMaxBackups.Location = new System.Drawing.Point(269, 119);
|
||||
this.numMaxBackups.Location = new System.Drawing.Point(274, 120);
|
||||
this.numMaxBackups.Name = "numMaxBackups";
|
||||
this.numMaxBackups.Size = new System.Drawing.Size(34, 22);
|
||||
this.numMaxBackups.TabIndex = 16;
|
||||
this.numMaxBackups.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// cbBackupEnableACL
|
||||
//
|
||||
this.cbBackupEnableACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupEnableACL.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.cbBackupEnableACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupEnableACL.FormattingEnabled = true;
|
||||
this.cbBackupEnableACL.Location = new System.Drawing.Point(3, 36);
|
||||
this.cbBackupEnableACL.MaxDropDownItems = 3;
|
||||
this.cbBackupEnableACL.Name = "cbBackupEnableACL";
|
||||
this.cbBackupEnableACL.Size = new System.Drawing.Size(83, 21);
|
||||
this.cbBackupEnableACL.TabIndex = 25;
|
||||
this.cbBackupEnableACL.Visible = false;
|
||||
//
|
||||
// pnlBackupEnable
|
||||
//
|
||||
this.pnlBackupEnable.Controls.Add(this.rbBackupEnableEnable);
|
||||
this.pnlBackupEnable.Controls.Add(this.rbBackupEnableDisable);
|
||||
this.pnlBackupEnable.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pnlBackupEnable.Location = new System.Drawing.Point(269, 36);
|
||||
this.pnlBackupEnable.Location = new System.Drawing.Point(274, 30);
|
||||
this.pnlBackupEnable.Name = "pnlBackupEnable";
|
||||
this.pnlBackupEnable.Size = new System.Drawing.Size(208, 21);
|
||||
this.pnlBackupEnable.Size = new System.Drawing.Size(208, 24);
|
||||
this.pnlBackupEnable.TabIndex = 26;
|
||||
//
|
||||
// rbBackupEnableEnable
|
||||
@@ -225,9 +224,9 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
this.pnlBackupType.Controls.Add(this.radioButton1);
|
||||
this.pnlBackupType.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pnlBackupType.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.pnlBackupType.Location = new System.Drawing.Point(269, 63);
|
||||
this.pnlBackupType.Location = new System.Drawing.Point(274, 60);
|
||||
this.pnlBackupType.Name = "pnlBackupType";
|
||||
this.pnlBackupType.Size = new System.Drawing.Size(208, 21);
|
||||
this.pnlBackupType.Size = new System.Drawing.Size(208, 24);
|
||||
this.pnlBackupType.TabIndex = 27;
|
||||
//
|
||||
// radioButton2
|
||||
@@ -253,85 +252,21 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
this.radioButton1.Text = "to File";
|
||||
this.radioButton1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cbBackupFrequencyACL
|
||||
//
|
||||
this.cbBackupFrequencyACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupFrequencyACL.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.cbBackupFrequencyACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupFrequencyACL.FormattingEnabled = true;
|
||||
this.cbBackupFrequencyACL.Location = new System.Drawing.Point(3, 90);
|
||||
this.cbBackupFrequencyACL.MaxDropDownItems = 3;
|
||||
this.cbBackupFrequencyACL.Name = "cbBackupFrequencyACL";
|
||||
this.cbBackupFrequencyACL.Size = new System.Drawing.Size(83, 21);
|
||||
this.cbBackupFrequencyACL.TabIndex = 29;
|
||||
this.cbBackupFrequencyACL.Visible = false;
|
||||
//
|
||||
// cbBackupTypeACL
|
||||
//
|
||||
this.cbBackupTypeACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupTypeACL.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.cbBackupTypeACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupTypeACL.FormattingEnabled = true;
|
||||
this.cbBackupTypeACL.Location = new System.Drawing.Point(3, 63);
|
||||
this.cbBackupTypeACL.MaxDropDownItems = 3;
|
||||
this.cbBackupTypeACL.Name = "cbBackupTypeACL";
|
||||
this.cbBackupTypeACL.Size = new System.Drawing.Size(83, 21);
|
||||
this.cbBackupTypeACL.TabIndex = 28;
|
||||
this.cbBackupTypeACL.Visible = false;
|
||||
//
|
||||
// cbBackupNumberACL
|
||||
//
|
||||
this.cbBackupNumberACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupNumberACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupNumberACL.FormattingEnabled = true;
|
||||
this.cbBackupNumberACL.Location = new System.Drawing.Point(3, 119);
|
||||
this.cbBackupNumberACL.MaxDropDownItems = 3;
|
||||
this.cbBackupNumberACL.Name = "cbBackupNumberACL";
|
||||
this.cbBackupNumberACL.Size = new System.Drawing.Size(83, 21);
|
||||
this.cbBackupNumberACL.TabIndex = 30;
|
||||
this.cbBackupNumberACL.Visible = false;
|
||||
//
|
||||
// cbBackupNameFormatACL
|
||||
//
|
||||
this.cbBackupNameFormatACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupNameFormatACL.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.cbBackupNameFormatACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupNameFormatACL.FormattingEnabled = true;
|
||||
this.cbBackupNameFormatACL.Location = new System.Drawing.Point(3, 147);
|
||||
this.cbBackupNameFormatACL.MaxDropDownItems = 3;
|
||||
this.cbBackupNameFormatACL.Name = "cbBackupNameFormatACL";
|
||||
this.cbBackupNameFormatACL.Size = new System.Drawing.Size(83, 21);
|
||||
this.cbBackupNameFormatACL.TabIndex = 31;
|
||||
this.cbBackupNameFormatACL.Visible = false;
|
||||
//
|
||||
// cbBackupLocationACL
|
||||
//
|
||||
this.cbBackupLocationACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupLocationACL.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.cbBackupLocationACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupLocationACL.FormattingEnabled = true;
|
||||
this.cbBackupLocationACL.Location = new System.Drawing.Point(3, 177);
|
||||
this.cbBackupLocationACL.MaxDropDownItems = 3;
|
||||
this.cbBackupLocationACL.Name = "cbBackupLocationACL";
|
||||
this.cbBackupLocationACL.Size = new System.Drawing.Size(83, 21);
|
||||
this.cbBackupLocationACL.TabIndex = 32;
|
||||
this.cbBackupLocationACL.Visible = false;
|
||||
//
|
||||
// lblConnectionsBackupPath
|
||||
//
|
||||
this.lblConnectionsBackupPath.AutoSize = true;
|
||||
this.lblConnectionsBackupPath.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblConnectionsBackupPath.Location = new System.Drawing.Point(92, 174);
|
||||
this.lblConnectionsBackupPath.Location = new System.Drawing.Point(103, 177);
|
||||
this.lblConnectionsBackupPath.Name = "lblConnectionsBackupPath";
|
||||
this.lblConnectionsBackupPath.Size = new System.Drawing.Size(171, 31);
|
||||
this.lblConnectionsBackupPath.Size = new System.Drawing.Size(165, 31);
|
||||
this.lblConnectionsBackupPath.TabIndex = 13;
|
||||
this.lblConnectionsBackupPath.Text = "backup folder";
|
||||
this.lblConnectionsBackupPath.Text = "Backup folder";
|
||||
this.lblConnectionsBackupPath.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// txtConnectionsBackupPath
|
||||
//
|
||||
this.txtConnectionsBackupPath.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtConnectionsBackupPath.Location = new System.Drawing.Point(269, 179);
|
||||
this.txtConnectionsBackupPath.Location = new System.Drawing.Point(274, 182);
|
||||
this.txtConnectionsBackupPath.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3);
|
||||
this.txtConnectionsBackupPath.Name = "txtConnectionsBackupPath";
|
||||
this.txtConnectionsBackupPath.Size = new System.Drawing.Size(208, 22);
|
||||
@@ -340,7 +275,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
// btnBrowsePath
|
||||
//
|
||||
this.btnBrowsePath.AutoSize = true;
|
||||
this.btnBrowsePath.Location = new System.Drawing.Point(483, 177);
|
||||
this.btnBrowsePath.Location = new System.Drawing.Point(488, 180);
|
||||
this.btnBrowsePath.Name = "btnBrowsePath";
|
||||
this.btnBrowsePath.Size = new System.Drawing.Size(94, 25);
|
||||
this.btnBrowsePath.TabIndex = 15;
|
||||
@@ -352,9 +287,9 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
//
|
||||
this.lblBackupNameFormat.AutoSize = true;
|
||||
this.lblBackupNameFormat.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblBackupNameFormat.Location = new System.Drawing.Point(92, 144);
|
||||
this.lblBackupNameFormat.Location = new System.Drawing.Point(103, 147);
|
||||
this.lblBackupNameFormat.Name = "lblBackupNameFormat";
|
||||
this.lblBackupNameFormat.Size = new System.Drawing.Size(171, 30);
|
||||
this.lblBackupNameFormat.Size = new System.Drawing.Size(165, 30);
|
||||
this.lblBackupNameFormat.TabIndex = 33;
|
||||
this.lblBackupNameFormat.Text = "Backup file name format";
|
||||
this.lblBackupNameFormat.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
@@ -362,7 +297,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
// txtBackupNameFormat
|
||||
//
|
||||
this.txtBackupNameFormat.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.txtBackupNameFormat.Location = new System.Drawing.Point(269, 149);
|
||||
this.txtBackupNameFormat.Location = new System.Drawing.Point(274, 152);
|
||||
this.txtBackupNameFormat.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3);
|
||||
this.txtBackupNameFormat.Name = "txtBackupNameFormat";
|
||||
this.txtBackupNameFormat.Size = new System.Drawing.Size(208, 22);
|
||||
@@ -371,29 +306,35 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
// lblBacupPageShowInOptionsMenu
|
||||
//
|
||||
this.lblBacupPageShowInOptionsMenu.AutoSize = true;
|
||||
this.lblBacupPageShowInOptionsMenu.BackColor = System.Drawing.Color.Salmon;
|
||||
this.lblBacupPageShowInOptionsMenu.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblBacupPageShowInOptionsMenu.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblBacupPageShowInOptionsMenu.Location = new System.Drawing.Point(92, 0);
|
||||
this.lblBacupPageShowInOptionsMenu.Location = new System.Drawing.Point(100, 0);
|
||||
this.lblBacupPageShowInOptionsMenu.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lblBacupPageShowInOptionsMenu.Name = "lblBacupPageShowInOptionsMenu";
|
||||
this.lblBacupPageShowInOptionsMenu.Size = new System.Drawing.Size(171, 33);
|
||||
this.lblBacupPageShowInOptionsMenu.Size = new System.Drawing.Size(171, 27);
|
||||
this.lblBacupPageShowInOptionsMenu.TabIndex = 35;
|
||||
this.lblBacupPageShowInOptionsMenu.Text = "Page control in Options menu";
|
||||
this.lblBacupPageShowInOptionsMenu.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lblBacupPageShowInOptionsMenu.Visible = false;
|
||||
//
|
||||
// pnlShowForUser
|
||||
//
|
||||
this.pnlShowForUser.BackColor = System.Drawing.Color.Salmon;
|
||||
this.pnlShowForUser.Controls.Add(this.cbBacupPageInOptionMenu);
|
||||
this.pnlShowForUser.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pnlShowForUser.Location = new System.Drawing.Point(269, 3);
|
||||
this.pnlShowForUser.Location = new System.Drawing.Point(271, 0);
|
||||
this.pnlShowForUser.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.pnlShowForUser.Name = "pnlShowForUser";
|
||||
this.pnlShowForUser.Size = new System.Drawing.Size(208, 27);
|
||||
this.pnlShowForUser.Size = new System.Drawing.Size(214, 27);
|
||||
this.pnlShowForUser.TabIndex = 37;
|
||||
this.pnlShowForUser.Visible = false;
|
||||
//
|
||||
// cbBacupPageInOptionMenu
|
||||
//
|
||||
this.cbBacupPageInOptionMenu.AutoSize = true;
|
||||
this.cbBacupPageInOptionMenu.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
||||
this.cbBacupPageInOptionMenu.Location = new System.Drawing.Point(4, 6);
|
||||
this.cbBacupPageInOptionMenu.Location = new System.Drawing.Point(7, 5);
|
||||
this.cbBacupPageInOptionMenu.Name = "cbBacupPageInOptionMenu";
|
||||
this.cbBacupPageInOptionMenu.Size = new System.Drawing.Size(104, 19);
|
||||
this.cbBacupPageInOptionMenu.TabIndex = 36;
|
||||
@@ -403,16 +344,151 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
// lblACL
|
||||
//
|
||||
this.lblACL.AutoSize = true;
|
||||
this.lblACL.BackColor = System.Drawing.Color.Salmon;
|
||||
this.lblACL.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lblACL.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
||||
this.lblACL.Location = new System.Drawing.Point(3, 0);
|
||||
this.lblACL.Location = new System.Drawing.Point(0, 0);
|
||||
this.lblACL.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lblACL.Name = "lblACL";
|
||||
this.lblACL.Size = new System.Drawing.Size(83, 33);
|
||||
this.lblACL.Size = new System.Drawing.Size(100, 27);
|
||||
this.lblACL.TabIndex = 17;
|
||||
this.lblACL.Text = "ACL for user";
|
||||
this.lblACL.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lblACL.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lblACL.Visible = false;
|
||||
//
|
||||
// plBackupEnableACL
|
||||
//
|
||||
this.plBackupEnableACL.BackColor = System.Drawing.Color.Salmon;
|
||||
this.plBackupEnableACL.Controls.Add(this.cbBackupEnableACL);
|
||||
this.plBackupEnableACL.Location = new System.Drawing.Point(0, 27);
|
||||
this.plBackupEnableACL.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.plBackupEnableACL.Name = "plBackupEnableACL";
|
||||
this.plBackupEnableACL.Size = new System.Drawing.Size(100, 30);
|
||||
this.plBackupEnableACL.TabIndex = 38;
|
||||
//
|
||||
// cbBackupEnableACL
|
||||
//
|
||||
this.cbBackupEnableACL.BackColor = System.Drawing.Color.Salmon;
|
||||
this.cbBackupEnableACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupEnableACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupEnableACL.FormattingEnabled = true;
|
||||
this.cbBackupEnableACL.Location = new System.Drawing.Point(3, 5);
|
||||
this.cbBackupEnableACL.MaxDropDownItems = 3;
|
||||
this.cbBackupEnableACL.Name = "cbBackupEnableACL";
|
||||
this.cbBackupEnableACL.Size = new System.Drawing.Size(94, 21);
|
||||
this.cbBackupEnableACL.TabIndex = 25;
|
||||
this.cbBackupEnableACL.Visible = false;
|
||||
//
|
||||
// plBackupType
|
||||
//
|
||||
this.plBackupType.BackColor = System.Drawing.Color.Salmon;
|
||||
this.plBackupType.Controls.Add(this.cbBackupTypeACL);
|
||||
this.plBackupType.Location = new System.Drawing.Point(0, 57);
|
||||
this.plBackupType.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.plBackupType.Name = "plBackupType";
|
||||
this.plBackupType.Size = new System.Drawing.Size(100, 30);
|
||||
this.plBackupType.TabIndex = 39;
|
||||
//
|
||||
// cbBackupTypeACL
|
||||
//
|
||||
this.cbBackupTypeACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupTypeACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupTypeACL.FormattingEnabled = true;
|
||||
this.cbBackupTypeACL.Location = new System.Drawing.Point(3, 6);
|
||||
this.cbBackupTypeACL.MaxDropDownItems = 3;
|
||||
this.cbBackupTypeACL.Name = "cbBackupTypeACL";
|
||||
this.cbBackupTypeACL.Size = new System.Drawing.Size(94, 21);
|
||||
this.cbBackupTypeACL.TabIndex = 28;
|
||||
this.cbBackupTypeACL.Visible = false;
|
||||
//
|
||||
// plBackupFrequency
|
||||
//
|
||||
this.plBackupFrequency.BackColor = System.Drawing.Color.Salmon;
|
||||
this.plBackupFrequency.Controls.Add(this.cbBackupFrequencyACL);
|
||||
this.plBackupFrequency.Location = new System.Drawing.Point(0, 87);
|
||||
this.plBackupFrequency.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.plBackupFrequency.Name = "plBackupFrequency";
|
||||
this.plBackupFrequency.Size = new System.Drawing.Size(100, 30);
|
||||
this.plBackupFrequency.TabIndex = 40;
|
||||
//
|
||||
// cbBackupFrequencyACL
|
||||
//
|
||||
this.cbBackupFrequencyACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupFrequencyACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupFrequencyACL.FormattingEnabled = true;
|
||||
this.cbBackupFrequencyACL.Location = new System.Drawing.Point(3, 5);
|
||||
this.cbBackupFrequencyACL.MaxDropDownItems = 3;
|
||||
this.cbBackupFrequencyACL.Name = "cbBackupFrequencyACL";
|
||||
this.cbBackupFrequencyACL.Size = new System.Drawing.Size(94, 21);
|
||||
this.cbBackupFrequencyACL.TabIndex = 29;
|
||||
this.cbBackupFrequencyACL.Visible = false;
|
||||
//
|
||||
// plBackupNumber
|
||||
//
|
||||
this.plBackupNumber.BackColor = System.Drawing.Color.Salmon;
|
||||
this.plBackupNumber.Controls.Add(this.cbBackupNumberACL);
|
||||
this.plBackupNumber.Location = new System.Drawing.Point(0, 117);
|
||||
this.plBackupNumber.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.plBackupNumber.Name = "plBackupNumber";
|
||||
this.plBackupNumber.Size = new System.Drawing.Size(100, 30);
|
||||
this.plBackupNumber.TabIndex = 41;
|
||||
//
|
||||
// cbBackupNumberACL
|
||||
//
|
||||
this.cbBackupNumberACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupNumberACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupNumberACL.FormattingEnabled = true;
|
||||
this.cbBackupNumberACL.Location = new System.Drawing.Point(3, 6);
|
||||
this.cbBackupNumberACL.MaxDropDownItems = 3;
|
||||
this.cbBackupNumberACL.Name = "cbBackupNumberACL";
|
||||
this.cbBackupNumberACL.Size = new System.Drawing.Size(94, 21);
|
||||
this.cbBackupNumberACL.TabIndex = 30;
|
||||
this.cbBackupNumberACL.Visible = false;
|
||||
//
|
||||
// plBackupNameFormat
|
||||
//
|
||||
this.plBackupNameFormat.BackColor = System.Drawing.Color.Salmon;
|
||||
this.plBackupNameFormat.Controls.Add(this.cbBackupNameFormatACL);
|
||||
this.plBackupNameFormat.Location = new System.Drawing.Point(0, 147);
|
||||
this.plBackupNameFormat.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.plBackupNameFormat.Name = "plBackupNameFormat";
|
||||
this.plBackupNameFormat.Size = new System.Drawing.Size(100, 30);
|
||||
this.plBackupNameFormat.TabIndex = 42;
|
||||
//
|
||||
// cbBackupNameFormatACL
|
||||
//
|
||||
this.cbBackupNameFormatACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupNameFormatACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupNameFormatACL.FormattingEnabled = true;
|
||||
this.cbBackupNameFormatACL.Location = new System.Drawing.Point(3, 5);
|
||||
this.cbBackupNameFormatACL.MaxDropDownItems = 3;
|
||||
this.cbBackupNameFormatACL.Name = "cbBackupNameFormatACL";
|
||||
this.cbBackupNameFormatACL.Size = new System.Drawing.Size(94, 21);
|
||||
this.cbBackupNameFormatACL.TabIndex = 31;
|
||||
this.cbBackupNameFormatACL.Visible = false;
|
||||
//
|
||||
// plBackupLocation
|
||||
//
|
||||
this.plBackupLocation.BackColor = System.Drawing.Color.Salmon;
|
||||
this.plBackupLocation.Controls.Add(this.cbBackupLocationACL);
|
||||
this.plBackupLocation.Location = new System.Drawing.Point(0, 177);
|
||||
this.plBackupLocation.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.plBackupLocation.Name = "plBackupLocation";
|
||||
this.plBackupLocation.Size = new System.Drawing.Size(100, 30);
|
||||
this.plBackupLocation.TabIndex = 43;
|
||||
//
|
||||
// cbBackupLocationACL
|
||||
//
|
||||
this.cbBackupLocationACL.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.cbBackupLocationACL.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbBackupLocationACL.FormattingEnabled = true;
|
||||
this.cbBackupLocationACL.Location = new System.Drawing.Point(3, 5);
|
||||
this.cbBackupLocationACL.MaxDropDownItems = 3;
|
||||
this.cbBackupLocationACL.Name = "cbBackupLocationACL";
|
||||
this.cbBackupLocationACL.Size = new System.Drawing.Size(94, 21);
|
||||
this.cbBackupLocationACL.TabIndex = 32;
|
||||
this.cbBackupLocationACL.Visible = false;
|
||||
//
|
||||
// BackupPage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
@@ -429,6 +505,12 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
this.pnlBackupType.PerformLayout();
|
||||
this.pnlShowForUser.ResumeLayout(false);
|
||||
this.pnlShowForUser.PerformLayout();
|
||||
this.plBackupEnableACL.ResumeLayout(false);
|
||||
this.plBackupType.ResumeLayout(false);
|
||||
this.plBackupFrequency.ResumeLayout(false);
|
||||
this.plBackupNumber.ResumeLayout(false);
|
||||
this.plBackupNameFormat.ResumeLayout(false);
|
||||
this.plBackupLocation.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -461,5 +543,11 @@ namespace mRemoteNG.UI.Forms.OptionsPages
|
||||
private System.Windows.Forms.Label lblBacupPageShowInOptionsMenu;
|
||||
private System.Windows.Forms.CheckBox cbBacupPageInOptionMenu;
|
||||
private System.Windows.Forms.Panel pnlShowForUser;
|
||||
private System.Windows.Forms.Panel plBackupEnableACL;
|
||||
private System.Windows.Forms.Panel plBackupType;
|
||||
private System.Windows.Forms.Panel plBackupFrequency;
|
||||
private System.Windows.Forms.Panel plBackupNumber;
|
||||
private System.Windows.Forms.Panel plBackupNameFormat;
|
||||
private System.Windows.Forms.Panel plBackupLocation;
|
||||
}
|
||||
}
|
||||
@@ -69,29 +69,32 @@ namespace mRemoteNG.UI.Forms
|
||||
#endif
|
||||
private void CompileListOfOptionsPages()
|
||||
{
|
||||
_pages = new Dictionary<string, OptionsPage>
|
||||
{
|
||||
{typeof(StartupExitPage).Name, new StartupExitPage {Dock = DockStyle.Fill}},
|
||||
{typeof(AppearancePage).Name, new AppearancePage {Dock = DockStyle.Fill}},
|
||||
{typeof(TabsPanelsPage).Name, new TabsPanelsPage {Dock = DockStyle.Fill}},
|
||||
{typeof(NotificationsPage).Name, new NotificationsPage {Dock = DockStyle.Fill}},
|
||||
{typeof(ConnectionsPage).Name, new ConnectionsPage {Dock = DockStyle.Fill}},
|
||||
{typeof(CredentialsPage).Name, new CredentialsPage {Dock = DockStyle.Fill}},
|
||||
{typeof(SqlServerPage).Name, new SqlServerPage {Dock = DockStyle.Fill}},
|
||||
{typeof(UpdatesPage).Name, new UpdatesPage {Dock = DockStyle.Fill}},
|
||||
{typeof(ThemePage).Name, new ThemePage {Dock = DockStyle.Fill}},
|
||||
{typeof(SecurityPage).Name, new SecurityPage {Dock = DockStyle.Fill}},
|
||||
{typeof(AdvancedPage).Name, new AdvancedPage {Dock = DockStyle.Fill}},
|
||||
};
|
||||
|
||||
_pages = new Dictionary<string, OptionsPage>{};
|
||||
|
||||
if (Properties.OptionsStartupExitPage.Default.cbStartupExitPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(StartupExitPage).Name, new StartupExitPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsAppearancePage.Default.cbAppearancePageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(AppearancePage).Name, new AppearancePage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsConnectionsPage.Default.cbConnectionsPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(ConnectionsPage).Name, new ConnectionsPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsTabsPanelsPage.Default.cbTabsPanelsPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(TabsPanelsPage).Name, new TabsPanelsPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsNotificationsPage.Default.cbNotificationsPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(NotificationsPage).Name, new NotificationsPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsCredentialsPage.Default.cbCredentialsPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(CredentialsPage).Name, new CredentialsPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsDBsPage.Default.cbDBsPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(SqlServerPage).Name, new SqlServerPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsUpdatesPage.Default.cbUpdatesPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(UpdatesPage).Name, new UpdatesPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsThemePage.Default.cbThemePageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(ThemePage).Name, new ThemePage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsSecurityPage.Default.cbSecurityPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(SecurityPage).Name, new SecurityPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsAdvancedPage.Default.cbAdvancedPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
_pages.Add(typeof(AdvancedPage).Name, new AdvancedPage { Dock = DockStyle.Fill });
|
||||
if (Properties.OptionsBackupPage.Default.cbBacupPageInOptionMenu == true || Properties.rbac.Default.ActiveRole == "AdminRole")
|
||||
{
|
||||
_pages.Add(typeof(BackupPage).Name, new BackupPage { Dock = DockStyle.Fill });
|
||||
}
|
||||
|
||||
|
||||
//{typeof(ComponentsPage).Name, new ComponentsPage {Dock = DockStyle.Fill}},
|
||||
|
||||
}
|
||||
|
||||
private void AddOptionsPagesToListView()
|
||||
|
||||
Reference in New Issue
Block a user