Merge pull request #2401 from BlueBlock/fix_options_ui_sizing

options pages size and position fixes
This commit is contained in:
Dimitrij
2023-03-24 07:16:15 +00:00
committed by GitHub
28 changed files with 2298 additions and 2997 deletions

View File

@@ -5,262 +5,235 @@ using mRemoteNG.UI.Controls;
namespace mRemoteNG.UI.Forms.OptionsPages
{
public sealed partial class AdvancedPage : OptionsPage
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
this.lblMaximumPuttyWaitTime = new mRemoteNG.UI.Controls.MrngLabel();
this.chkAutomaticReconnect = new mRemoteNG.UI.Controls.MrngCheckBox();
this.numPuttyWaitTime = new mRemoteNG.UI.Controls.MrngNumericUpDown();
this.chkUseCustomPuttyPath = new mRemoteNG.UI.Controls.MrngCheckBox();
this.lblConfigurePuttySessions = new mRemoteNG.UI.Controls.MrngLabel();
this.numUVNCSCPort = new mRemoteNG.UI.Controls.MrngNumericUpDown();
this.txtCustomPuttyPath = new mRemoteNG.UI.Controls.MrngTextBox();
this.btnLaunchPutty = new mRemoteNG.UI.Controls.MrngButton();
this.lblUVNCSCPort = new mRemoteNG.UI.Controls.MrngLabel();
this.lblSeconds = new mRemoteNG.UI.Controls.MrngLabel();
this.btnBrowseCustomPuttyPath = new mRemoteNG.UI.Controls.MrngButton();
this.chkLoadBalanceInfoUseUtf8 = new mRemoteNG.UI.Controls.MrngCheckBox();
this.chkNoReconnect = new mRemoteNG.UI.Controls.MrngCheckBox();
((System.ComponentModel.ISupportInitialize)(this.numPuttyWaitTime)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numUVNCSCPort)).BeginInit();
this.SuspendLayout();
{
lblMaximumPuttyWaitTime = new MrngLabel();
chkAutomaticReconnect = new MrngCheckBox();
numPuttyWaitTime = new MrngNumericUpDown();
chkUseCustomPuttyPath = new MrngCheckBox();
lblConfigurePuttySessions = new MrngLabel();
numUVNCSCPort = new MrngNumericUpDown();
txtCustomPuttyPath = new MrngTextBox();
btnLaunchPutty = new MrngButton();
lblUVNCSCPort = new MrngLabel();
lblSeconds = new MrngLabel();
btnBrowseCustomPuttyPath = new MrngButton();
chkLoadBalanceInfoUseUtf8 = new MrngCheckBox();
chkNoReconnect = new MrngCheckBox();
((System.ComponentModel.ISupportInitialize)numPuttyWaitTime).BeginInit();
((System.ComponentModel.ISupportInitialize)numUVNCSCPort).BeginInit();
SuspendLayout();
//
// lblMaximumPuttyWaitTime
//
this.lblMaximumPuttyWaitTime.Location = new System.Drawing.Point(4, 253);
this.lblMaximumPuttyWaitTime.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblMaximumPuttyWaitTime.Name = "lblMaximumPuttyWaitTime";
this.lblMaximumPuttyWaitTime.Size = new System.Drawing.Size(546, 30);
this.lblMaximumPuttyWaitTime.TabIndex = 7;
this.lblMaximumPuttyWaitTime.Text = "Maximum PuTTY wait time:";
this.lblMaximumPuttyWaitTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblMaximumPuttyWaitTime.Location = new System.Drawing.Point(9, 174);
lblMaximumPuttyWaitTime.Name = "lblMaximumPuttyWaitTime";
lblMaximumPuttyWaitTime.Size = new System.Drawing.Size(364, 20);
lblMaximumPuttyWaitTime.TabIndex = 7;
lblMaximumPuttyWaitTime.Text = "Maximum PuTTY wait time:";
lblMaximumPuttyWaitTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// chkAutomaticReconnect
//
this.chkAutomaticReconnect._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkAutomaticReconnect.AutoSize = true;
this.chkAutomaticReconnect.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkAutomaticReconnect.Location = new System.Drawing.Point(4, 4);
this.chkAutomaticReconnect.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.chkAutomaticReconnect.Name = "chkAutomaticReconnect";
this.chkAutomaticReconnect.Size = new System.Drawing.Size(625, 27);
this.chkAutomaticReconnect.TabIndex = 1;
this.chkAutomaticReconnect.Text = "Display reconnection dialog when disconnected from server (RDP && ICA only)";
this.chkAutomaticReconnect.UseVisualStyleBackColor = true;
this.chkAutomaticReconnect.CheckedChanged += new System.EventHandler(this.chkAutomaticReconnect_CheckedChanged);
//
// chkNoReconnect
//
this.chkNoReconnect._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkNoReconnect.AutoSize = true;
this.chkNoReconnect.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkNoReconnect.Location = new System.Drawing.Point(32, 39);
this.chkNoReconnect.Margin = new System.Windows.Forms.Padding(4);
this.chkNoReconnect.Name = "chkNoReconnect";
this.chkNoReconnect.Size = new System.Drawing.Size(645, 27);
this.chkNoReconnect.TabIndex = 11;
this.chkNoReconnect.Text = "Automatically try to reconnect when disconnected from server (RDP && ICA only)";
this.chkNoReconnect.UseVisualStyleBackColor = true;
this.chkNoReconnect.CheckedChanged += new System.EventHandler(this.chkNoReconnect_CheckedChanged);
chkAutomaticReconnect._mice = MrngCheckBox.MouseState.OUT;
chkAutomaticReconnect.AutoSize = true;
chkAutomaticReconnect.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkAutomaticReconnect.Location = new System.Drawing.Point(9, 8);
chkAutomaticReconnect.Name = "chkAutomaticReconnect";
chkAutomaticReconnect.Size = new System.Drawing.Size(421, 17);
chkAutomaticReconnect.TabIndex = 1;
chkAutomaticReconnect.Text = "Display reconnection dialog when disconnected from server (RDP && ICA only)";
chkAutomaticReconnect.UseVisualStyleBackColor = true;
chkAutomaticReconnect.CheckedChanged += chkAutomaticReconnect_CheckedChanged;
//
// numPuttyWaitTime
//
this.numPuttyWaitTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.numPuttyWaitTime.Location = new System.Drawing.Point(1260, 482);
this.numPuttyWaitTime.Margin = new System.Windows.Forms.Padding(9, 9, 9, 9);
this.numPuttyWaitTime.Maximum = new decimal(new int[] {
999,
0,
0,
0});
this.numPuttyWaitTime.Name = "numPuttyWaitTime";
this.numPuttyWaitTime.Size = new System.Drawing.Size(202, 29);
this.numPuttyWaitTime.TabIndex = 7;
this.numPuttyWaitTime.Value = new decimal(new int[] {
5,
0,
0,
0});
numPuttyWaitTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
numPuttyWaitTime.Location = new System.Drawing.Point(840, 321);
numPuttyWaitTime.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
numPuttyWaitTime.Maximum = new decimal(new int[] { 999, 0, 0, 0 });
numPuttyWaitTime.Name = "numPuttyWaitTime";
numPuttyWaitTime.Size = new System.Drawing.Size(135, 22);
numPuttyWaitTime.TabIndex = 7;
numPuttyWaitTime.Value = new decimal(new int[] { 5, 0, 0, 0 });
//
// chkUseCustomPuttyPath
//
this.chkUseCustomPuttyPath._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkUseCustomPuttyPath.AutoSize = true;
this.chkUseCustomPuttyPath.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkUseCustomPuttyPath.Location = new System.Drawing.Point(4, 109);
this.chkUseCustomPuttyPath.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.chkUseCustomPuttyPath.Name = "chkUseCustomPuttyPath";
this.chkUseCustomPuttyPath.Size = new System.Drawing.Size(221, 27);
this.chkUseCustomPuttyPath.TabIndex = 3;
this.chkUseCustomPuttyPath.Text = "Use custom PuTTY path:";
this.chkUseCustomPuttyPath.UseVisualStyleBackColor = true;
this.chkUseCustomPuttyPath.CheckedChanged += new System.EventHandler(this.chkUseCustomPuttyPath_CheckedChanged);
chkUseCustomPuttyPath._mice = MrngCheckBox.MouseState.OUT;
chkUseCustomPuttyPath.AutoSize = true;
chkUseCustomPuttyPath.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkUseCustomPuttyPath.Location = new System.Drawing.Point(9, 78);
chkUseCustomPuttyPath.Name = "chkUseCustomPuttyPath";
chkUseCustomPuttyPath.Size = new System.Drawing.Size(148, 17);
chkUseCustomPuttyPath.TabIndex = 3;
chkUseCustomPuttyPath.Text = "Use custom PuTTY path:";
chkUseCustomPuttyPath.UseVisualStyleBackColor = true;
chkUseCustomPuttyPath.CheckedChanged += chkUseCustomPuttyPath_CheckedChanged;
//
// lblConfigurePuttySessions
//
this.lblConfigurePuttySessions.Location = new System.Drawing.Point(4, 199);
this.lblConfigurePuttySessions.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblConfigurePuttySessions.Name = "lblConfigurePuttySessions";
this.lblConfigurePuttySessions.Size = new System.Drawing.Size(546, 38);
this.lblConfigurePuttySessions.TabIndex = 5;
this.lblConfigurePuttySessions.Text = "To configure PuTTY sessions click this button:";
this.lblConfigurePuttySessions.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblConfigurePuttySessions.Location = new System.Drawing.Point(9, 138);
lblConfigurePuttySessions.Name = "lblConfigurePuttySessions";
lblConfigurePuttySessions.Size = new System.Drawing.Size(364, 25);
lblConfigurePuttySessions.TabIndex = 5;
lblConfigurePuttySessions.Text = "To configure PuTTY sessions click this button:";
lblConfigurePuttySessions.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// numUVNCSCPort
//
this.numUVNCSCPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.numUVNCSCPort.Location = new System.Drawing.Point(1260, 576);
this.numUVNCSCPort.Margin = new System.Windows.Forms.Padding(9, 9, 9, 9);
this.numUVNCSCPort.Maximum = new decimal(new int[] {
65535,
0,
0,
0});
this.numUVNCSCPort.Name = "numUVNCSCPort";
this.numUVNCSCPort.Size = new System.Drawing.Size(202, 29);
this.numUVNCSCPort.TabIndex = 8;
this.numUVNCSCPort.Value = new decimal(new int[] {
5500,
0,
0,
0});
this.numUVNCSCPort.Visible = false;
numUVNCSCPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
numUVNCSCPort.Location = new System.Drawing.Point(840, 384);
numUVNCSCPort.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
numUVNCSCPort.Maximum = new decimal(new int[] { 65535, 0, 0, 0 });
numUVNCSCPort.Name = "numUVNCSCPort";
numUVNCSCPort.Size = new System.Drawing.Size(135, 22);
numUVNCSCPort.TabIndex = 8;
numUVNCSCPort.Value = new decimal(new int[] { 5500, 0, 0, 0 });
numUVNCSCPort.Visible = false;
//
// txtCustomPuttyPath
//
this.txtCustomPuttyPath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtCustomPuttyPath.Enabled = false;
this.txtCustomPuttyPath.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtCustomPuttyPath.Location = new System.Drawing.Point(32, 143);
this.txtCustomPuttyPath.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.txtCustomPuttyPath.Name = "txtCustomPuttyPath";
this.txtCustomPuttyPath.Size = new System.Drawing.Size(518, 29);
this.txtCustomPuttyPath.TabIndex = 4;
this.txtCustomPuttyPath.TextChanged += new System.EventHandler(this.txtCustomPuttyPath_TextChanged);
txtCustomPuttyPath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtCustomPuttyPath.Enabled = false;
txtCustomPuttyPath.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtCustomPuttyPath.Location = new System.Drawing.Point(27, 100);
txtCustomPuttyPath.Name = "txtCustomPuttyPath";
txtCustomPuttyPath.Size = new System.Drawing.Size(346, 22);
txtCustomPuttyPath.TabIndex = 4;
txtCustomPuttyPath.TextChanged += txtCustomPuttyPath_TextChanged;
//
// btnLaunchPutty
//
this.btnLaunchPutty._mice = mRemoteNG.UI.Controls.MrngButton.MouseState.OUT;
this.btnLaunchPutty.Image = global::mRemoteNG.Properties.Resources.PuttyConfig;
this.btnLaunchPutty.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnLaunchPutty.Location = new System.Drawing.Point(560, 199);
this.btnLaunchPutty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnLaunchPutty.Name = "btnLaunchPutty";
this.btnLaunchPutty.Size = new System.Drawing.Size(183, 38);
this.btnLaunchPutty.TabIndex = 6;
this.btnLaunchPutty.Text = "Launch PuTTY";
this.btnLaunchPutty.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btnLaunchPutty.UseVisualStyleBackColor = true;
this.btnLaunchPutty.Click += new System.EventHandler(this.btnLaunchPutty_Click);
btnLaunchPutty._mice = MrngButton.MouseState.OUT;
btnLaunchPutty.Image = Properties.Resources.PuttyConfig;
btnLaunchPutty.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
btnLaunchPutty.Location = new System.Drawing.Point(379, 138);
btnLaunchPutty.Name = "btnLaunchPutty";
btnLaunchPutty.Size = new System.Drawing.Size(122, 25);
btnLaunchPutty.TabIndex = 6;
btnLaunchPutty.Text = "Launch PuTTY";
btnLaunchPutty.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
btnLaunchPutty.UseVisualStyleBackColor = true;
btnLaunchPutty.Click += btnLaunchPutty_Click;
//
// lblUVNCSCPort
//
this.lblUVNCSCPort.Location = new System.Drawing.Point(4, 296);
this.lblUVNCSCPort.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblUVNCSCPort.Name = "lblUVNCSCPort";
this.lblUVNCSCPort.Size = new System.Drawing.Size(546, 28);
this.lblUVNCSCPort.TabIndex = 10;
this.lblUVNCSCPort.Text = "UltraVNC SingleClick Listening Port:";
this.lblUVNCSCPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.lblUVNCSCPort.Visible = false;
lblUVNCSCPort.Location = new System.Drawing.Point(9, 202);
lblUVNCSCPort.Name = "lblUVNCSCPort";
lblUVNCSCPort.Size = new System.Drawing.Size(364, 19);
lblUVNCSCPort.TabIndex = 10;
lblUVNCSCPort.Text = "UltraVNC SingleClick Listening Port:";
lblUVNCSCPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblUVNCSCPort.Visible = false;
//
// lblSeconds
//
this.lblSeconds.AutoSize = true;
this.lblSeconds.Location = new System.Drawing.Point(658, 259);
this.lblSeconds.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblSeconds.Name = "lblSeconds";
this.lblSeconds.Size = new System.Drawing.Size(71, 23);
this.lblSeconds.TabIndex = 9;
this.lblSeconds.Text = "seconds";
lblSeconds.AutoSize = true;
lblSeconds.Location = new System.Drawing.Point(445, 178);
lblSeconds.Name = "lblSeconds";
lblSeconds.Size = new System.Drawing.Size(49, 13);
lblSeconds.TabIndex = 9;
lblSeconds.Text = "seconds";
//
// btnBrowseCustomPuttyPath
//
this.btnBrowseCustomPuttyPath._mice = mRemoteNG.UI.Controls.MrngButton.MouseState.OUT;
this.btnBrowseCustomPuttyPath.Enabled = false;
this.btnBrowseCustomPuttyPath.Location = new System.Drawing.Point(560, 141);
this.btnBrowseCustomPuttyPath.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnBrowseCustomPuttyPath.Name = "btnBrowseCustomPuttyPath";
this.btnBrowseCustomPuttyPath.Size = new System.Drawing.Size(183, 38);
this.btnBrowseCustomPuttyPath.TabIndex = 5;
this.btnBrowseCustomPuttyPath.Text = "Browse...";
this.btnBrowseCustomPuttyPath.UseVisualStyleBackColor = true;
this.btnBrowseCustomPuttyPath.Click += new System.EventHandler(this.btnBrowseCustomPuttyPath_Click);
btnBrowseCustomPuttyPath._mice = MrngButton.MouseState.OUT;
btnBrowseCustomPuttyPath.Enabled = false;
btnBrowseCustomPuttyPath.Location = new System.Drawing.Point(379, 99);
btnBrowseCustomPuttyPath.Name = "btnBrowseCustomPuttyPath";
btnBrowseCustomPuttyPath.Size = new System.Drawing.Size(122, 25);
btnBrowseCustomPuttyPath.TabIndex = 5;
btnBrowseCustomPuttyPath.Text = "Browse...";
btnBrowseCustomPuttyPath.UseVisualStyleBackColor = true;
btnBrowseCustomPuttyPath.Click += btnBrowseCustomPuttyPath_Click;
//
// chkLoadBalanceInfoUseUtf8
//
this.chkLoadBalanceInfoUseUtf8._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkLoadBalanceInfoUseUtf8.AutoSize = true;
this.chkLoadBalanceInfoUseUtf8.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.chkLoadBalanceInfoUseUtf8.Location = new System.Drawing.Point(4, 74);
this.chkLoadBalanceInfoUseUtf8.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.chkLoadBalanceInfoUseUtf8.Name = "chkLoadBalanceInfoUseUtf8";
this.chkLoadBalanceInfoUseUtf8.Size = new System.Drawing.Size(471, 27);
this.chkLoadBalanceInfoUseUtf8.TabIndex = 2;
this.chkLoadBalanceInfoUseUtf8.Text = "Use UTF8 encoding for RDP \"Load Balance Info\" property";
this.chkLoadBalanceInfoUseUtf8.UseVisualStyleBackColor = true;
chkLoadBalanceInfoUseUtf8._mice = MrngCheckBox.MouseState.OUT;
chkLoadBalanceInfoUseUtf8.AutoSize = true;
chkLoadBalanceInfoUseUtf8.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkLoadBalanceInfoUseUtf8.Location = new System.Drawing.Point(9, 54);
chkLoadBalanceInfoUseUtf8.Name = "chkLoadBalanceInfoUseUtf8";
chkLoadBalanceInfoUseUtf8.Size = new System.Drawing.Size(317, 17);
chkLoadBalanceInfoUseUtf8.TabIndex = 2;
chkLoadBalanceInfoUseUtf8.Text = "Use UTF8 encoding for RDP \"Load Balance Info\" property";
chkLoadBalanceInfoUseUtf8.UseVisualStyleBackColor = true;
//
// chkNoReconnect
//
chkNoReconnect._mice = MrngCheckBox.MouseState.OUT;
chkNoReconnect.AutoSize = true;
chkNoReconnect.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkNoReconnect.Location = new System.Drawing.Point(27, 31);
chkNoReconnect.Name = "chkNoReconnect";
chkNoReconnect.Size = new System.Drawing.Size(430, 17);
chkNoReconnect.TabIndex = 11;
chkNoReconnect.Text = "Automatically try to reconnect when disconnected from server (RDP && ICA only)";
chkNoReconnect.UseVisualStyleBackColor = true;
chkNoReconnect.CheckedChanged += chkNoReconnect_CheckedChanged;
//
// AdvancedPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.chkNoReconnect);
this.Controls.Add(this.chkLoadBalanceInfoUseUtf8);
this.Controls.Add(this.lblMaximumPuttyWaitTime);
this.Controls.Add(this.chkAutomaticReconnect);
this.Controls.Add(this.numPuttyWaitTime);
this.Controls.Add(this.chkUseCustomPuttyPath);
this.Controls.Add(this.lblConfigurePuttySessions);
this.Controls.Add(this.numUVNCSCPort);
this.Controls.Add(this.txtCustomPuttyPath);
this.Controls.Add(this.btnLaunchPutty);
this.Controls.Add(this.lblUVNCSCPort);
this.Controls.Add(this.lblSeconds);
this.Controls.Add(this.btnBrowseCustomPuttyPath);
this.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
this.Name = "AdvancedPage";
this.Size = new System.Drawing.Size(915, 735);
((System.ComponentModel.ISupportInitialize)(this.numPuttyWaitTime)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numUVNCSCPort)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(chkNoReconnect);
Controls.Add(chkLoadBalanceInfoUseUtf8);
Controls.Add(lblMaximumPuttyWaitTime);
Controls.Add(chkAutomaticReconnect);
Controls.Add(numPuttyWaitTime);
Controls.Add(chkUseCustomPuttyPath);
Controls.Add(lblConfigurePuttySessions);
Controls.Add(numUVNCSCPort);
Controls.Add(txtCustomPuttyPath);
Controls.Add(btnLaunchPutty);
Controls.Add(lblUVNCSCPort);
Controls.Add(lblSeconds);
Controls.Add(btnBrowseCustomPuttyPath);
Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
Name = "AdvancedPage";
Size = new System.Drawing.Size(610, 490);
((System.ComponentModel.ISupportInitialize)numPuttyWaitTime).EndInit();
((System.ComponentModel.ISupportInitialize)numUVNCSCPort).EndInit();
ResumeLayout(false);
PerformLayout();
}
}
internal Controls.MrngLabel lblMaximumPuttyWaitTime;
internal MrngCheckBox chkAutomaticReconnect;
internal Controls.MrngNumericUpDown numPuttyWaitTime;
internal MrngCheckBox chkUseCustomPuttyPath;
internal Controls.MrngLabel lblConfigurePuttySessions;
internal Controls.MrngNumericUpDown numUVNCSCPort;
internal Controls.MrngTextBox txtCustomPuttyPath;
internal MrngButton btnLaunchPutty;
internal Controls.MrngLabel lblUVNCSCPort;
internal Controls.MrngLabel lblSeconds;
internal MrngButton btnBrowseCustomPuttyPath;
internal Controls.MrngLabel lblMaximumPuttyWaitTime;
internal MrngCheckBox chkAutomaticReconnect;
internal Controls.MrngNumericUpDown numPuttyWaitTime;
internal MrngCheckBox chkUseCustomPuttyPath;
internal Controls.MrngLabel lblConfigurePuttySessions;
internal Controls.MrngNumericUpDown numUVNCSCPort;
internal Controls.MrngTextBox txtCustomPuttyPath;
internal MrngButton btnLaunchPutty;
internal Controls.MrngLabel lblUVNCSCPort;
internal Controls.MrngLabel lblSeconds;
internal MrngButton btnBrowseCustomPuttyPath;
private MrngCheckBox chkLoadBalanceInfoUseUtf8;
internal MrngCheckBox chkNoReconnect;
}

View File

@@ -68,7 +68,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
public override void SaveSettings()
{
Properties.OptionsAdvancedPage.Default.ReconnectOnDisconnect = chkAutomaticReconnect.Checked;
Properties.OptionsAdvancedPage.Default.NoReconnect= chkNoReconnect.Checked;
Properties.OptionsAdvancedPage.Default.NoReconnect = chkNoReconnect.Checked;
Properties.OptionsAdvancedPage.Default.RdpLoadBalanceInfoUseUtf8 = chkLoadBalanceInfoUseUtf8.Checked;
var puttyPathChanged = false;
@@ -165,7 +165,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
lblConfigurePuttySessions.Enabled = exists;
btnLaunchPutty.Enabled = exists;
}
private void chkNoReconnect_CheckedChanged(object sender, EventArgs e)
{

View File

@@ -4,158 +4,160 @@ using mRemoteNG.UI.Controls;
namespace mRemoteNG.UI.Forms.OptionsPages
{
public sealed partial class AppearancePage : OptionsPage
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent()
{
this.lblLanguageRestartRequired = new mRemoteNG.UI.Controls.MrngLabel();
this.cboLanguage = new MrngComboBox();
this.lblLanguage = new mRemoteNG.UI.Controls.MrngLabel();
this.chkShowFullConnectionsFilePathInTitle = new MrngCheckBox();
this.chkShowDescriptionTooltipsInTree = new MrngCheckBox();
this.chkShowSystemTrayIcon = new MrngCheckBox();
this.chkMinimizeToSystemTray = new MrngCheckBox();
this.chkCloseToSystemTray = new MrngCheckBox();
this.SuspendLayout();
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
lblLanguageRestartRequired = new MrngLabel();
cboLanguage = new MrngComboBox();
lblLanguage = new MrngLabel();
chkShowFullConnectionsFilePathInTitle = new MrngCheckBox();
chkShowDescriptionTooltipsInTree = new MrngCheckBox();
chkShowSystemTrayIcon = new MrngCheckBox();
chkMinimizeToSystemTray = new MrngCheckBox();
chkCloseToSystemTray = new MrngCheckBox();
SuspendLayout();
//
// lblLanguageRestartRequired
//
this.lblLanguageRestartRequired.AutoSize = true;
this.lblLanguageRestartRequired.Location = new System.Drawing.Point(3, 56);
this.lblLanguageRestartRequired.Name = "lblLanguageRestartRequired";
this.lblLanguageRestartRequired.Size = new System.Drawing.Size(414, 13);
this.lblLanguageRestartRequired.TabIndex = 2;
this.lblLanguageRestartRequired.Text = "mRemoteNG must be restarted before changes to the language will take effect.";
lblLanguageRestartRequired.AutoSize = true;
lblLanguageRestartRequired.Location = new System.Drawing.Point(8, 61);
lblLanguageRestartRequired.Name = "lblLanguageRestartRequired";
lblLanguageRestartRequired.Size = new System.Drawing.Size(414, 13);
lblLanguageRestartRequired.TabIndex = 2;
lblLanguageRestartRequired.Text = "mRemoteNG must be restarted before changes to the language will take effect.";
//
// cboLanguage
//
this.cboLanguage._mice = MrngComboBox.MouseState.HOVER;
this.cboLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboLanguage.FormattingEnabled = true;
this.cboLanguage.Location = new System.Drawing.Point(3, 24);
this.cboLanguage.Name = "cboLanguage";
this.cboLanguage.Size = new System.Drawing.Size(304, 21);
this.cboLanguage.Sorted = true;
this.cboLanguage.TabIndex = 1;
cboLanguage._mice = MrngComboBox.MouseState.HOVER;
cboLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
cboLanguage.FormattingEnabled = true;
cboLanguage.Location = new System.Drawing.Point(8, 29);
cboLanguage.Name = "cboLanguage";
cboLanguage.Size = new System.Drawing.Size(304, 21);
cboLanguage.Sorted = true;
cboLanguage.TabIndex = 1;
//
// lblLanguage
//
this.lblLanguage.AutoSize = true;
this.lblLanguage.Location = new System.Drawing.Point(3, 3);
this.lblLanguage.Name = "lblLanguage";
this.lblLanguage.Size = new System.Drawing.Size(58, 13);
this.lblLanguage.TabIndex = 0;
this.lblLanguage.Text = "Language";
lblLanguage.AutoSize = true;
lblLanguage.Location = new System.Drawing.Point(8, 8);
lblLanguage.Name = "lblLanguage";
lblLanguage.Size = new System.Drawing.Size(58, 13);
lblLanguage.TabIndex = 0;
lblLanguage.Text = "Language";
//
// chkShowFullConnectionsFilePathInTitle
//
this.chkShowFullConnectionsFilePathInTitle._mice = MrngCheckBox.MouseState.OUT;
this.chkShowFullConnectionsFilePathInTitle.AutoSize = true;
this.chkShowFullConnectionsFilePathInTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkShowFullConnectionsFilePathInTitle.Location = new System.Drawing.Point(3, 127);
this.chkShowFullConnectionsFilePathInTitle.Name = "chkShowFullConnectionsFilePathInTitle";
this.chkShowFullConnectionsFilePathInTitle.Size = new System.Drawing.Size(268, 17);
this.chkShowFullConnectionsFilePathInTitle.TabIndex = 4;
this.chkShowFullConnectionsFilePathInTitle.Text = "Show full connections file path in window title";
this.chkShowFullConnectionsFilePathInTitle.UseVisualStyleBackColor = true;
chkShowFullConnectionsFilePathInTitle._mice = MrngCheckBox.MouseState.OUT;
chkShowFullConnectionsFilePathInTitle.AutoSize = true;
chkShowFullConnectionsFilePathInTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkShowFullConnectionsFilePathInTitle.Location = new System.Drawing.Point(8, 132);
chkShowFullConnectionsFilePathInTitle.Name = "chkShowFullConnectionsFilePathInTitle";
chkShowFullConnectionsFilePathInTitle.Size = new System.Drawing.Size(268, 17);
chkShowFullConnectionsFilePathInTitle.TabIndex = 4;
chkShowFullConnectionsFilePathInTitle.Text = "Show full connections file path in window title";
chkShowFullConnectionsFilePathInTitle.UseVisualStyleBackColor = true;
//
// chkShowDescriptionTooltipsInTree
//
this.chkShowDescriptionTooltipsInTree._mice = MrngCheckBox.MouseState.OUT;
this.chkShowDescriptionTooltipsInTree.AutoSize = true;
this.chkShowDescriptionTooltipsInTree.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkShowDescriptionTooltipsInTree.Location = new System.Drawing.Point(3, 104);
this.chkShowDescriptionTooltipsInTree.Name = "chkShowDescriptionTooltipsInTree";
this.chkShowDescriptionTooltipsInTree.Size = new System.Drawing.Size(256, 17);
this.chkShowDescriptionTooltipsInTree.TabIndex = 3;
this.chkShowDescriptionTooltipsInTree.Text = "Show description tooltips in connection tree";
this.chkShowDescriptionTooltipsInTree.UseVisualStyleBackColor = true;
chkShowDescriptionTooltipsInTree._mice = MrngCheckBox.MouseState.OUT;
chkShowDescriptionTooltipsInTree.AutoSize = true;
chkShowDescriptionTooltipsInTree.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkShowDescriptionTooltipsInTree.Location = new System.Drawing.Point(8, 109);
chkShowDescriptionTooltipsInTree.Name = "chkShowDescriptionTooltipsInTree";
chkShowDescriptionTooltipsInTree.Size = new System.Drawing.Size(256, 17);
chkShowDescriptionTooltipsInTree.TabIndex = 3;
chkShowDescriptionTooltipsInTree.Text = "Show description tooltips in connection tree";
chkShowDescriptionTooltipsInTree.UseVisualStyleBackColor = true;
//
// chkShowSystemTrayIcon
//
this.chkShowSystemTrayIcon._mice = MrngCheckBox.MouseState.OUT;
this.chkShowSystemTrayIcon.AutoSize = true;
this.chkShowSystemTrayIcon.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkShowSystemTrayIcon.Location = new System.Drawing.Point(3, 173);
this.chkShowSystemTrayIcon.Name = "chkShowSystemTrayIcon";
this.chkShowSystemTrayIcon.Size = new System.Drawing.Size(178, 17);
this.chkShowSystemTrayIcon.TabIndex = 5;
this.chkShowSystemTrayIcon.Text = "Always show System Tray Icon";
this.chkShowSystemTrayIcon.UseVisualStyleBackColor = true;
chkShowSystemTrayIcon._mice = MrngCheckBox.MouseState.OUT;
chkShowSystemTrayIcon.AutoSize = true;
chkShowSystemTrayIcon.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkShowSystemTrayIcon.Location = new System.Drawing.Point(8, 178);
chkShowSystemTrayIcon.Name = "chkShowSystemTrayIcon";
chkShowSystemTrayIcon.Size = new System.Drawing.Size(178, 17);
chkShowSystemTrayIcon.TabIndex = 5;
chkShowSystemTrayIcon.Text = "Always show System Tray Icon";
chkShowSystemTrayIcon.UseVisualStyleBackColor = true;
//
// chkMinimizeToSystemTray
//
this.chkMinimizeToSystemTray._mice = MrngCheckBox.MouseState.OUT;
this.chkMinimizeToSystemTray.AutoSize = true;
this.chkMinimizeToSystemTray.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkMinimizeToSystemTray.Location = new System.Drawing.Point(3, 196);
this.chkMinimizeToSystemTray.Name = "chkMinimizeToSystemTray";
this.chkMinimizeToSystemTray.Size = new System.Drawing.Size(147, 17);
this.chkMinimizeToSystemTray.TabIndex = 6;
this.chkMinimizeToSystemTray.Text = "Minimize to System Tray";
this.chkMinimizeToSystemTray.UseVisualStyleBackColor = true;
chkMinimizeToSystemTray._mice = MrngCheckBox.MouseState.OUT;
chkMinimizeToSystemTray.AutoSize = true;
chkMinimizeToSystemTray.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkMinimizeToSystemTray.Location = new System.Drawing.Point(8, 201);
chkMinimizeToSystemTray.Name = "chkMinimizeToSystemTray";
chkMinimizeToSystemTray.Size = new System.Drawing.Size(147, 17);
chkMinimizeToSystemTray.TabIndex = 6;
chkMinimizeToSystemTray.Text = "Minimize to System Tray";
chkMinimizeToSystemTray.UseVisualStyleBackColor = true;
//
// chkCloseToSystemTray
//
this.chkCloseToSystemTray._mice = MrngCheckBox.MouseState.OUT;
this.chkCloseToSystemTray.AutoSize = true;
this.chkCloseToSystemTray.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkCloseToSystemTray.Location = new System.Drawing.Point(3, 219);
this.chkCloseToSystemTray.Name = "chkCloseToSystemTray";
this.chkCloseToSystemTray.Size = new System.Drawing.Size(129, 17);
this.chkCloseToSystemTray.TabIndex = 7;
this.chkCloseToSystemTray.Text = "Close to System Tray";
this.chkCloseToSystemTray.UseVisualStyleBackColor = true;
chkCloseToSystemTray._mice = MrngCheckBox.MouseState.OUT;
chkCloseToSystemTray.AutoSize = true;
chkCloseToSystemTray.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkCloseToSystemTray.Location = new System.Drawing.Point(8, 224);
chkCloseToSystemTray.Name = "chkCloseToSystemTray";
chkCloseToSystemTray.Size = new System.Drawing.Size(129, 17);
chkCloseToSystemTray.TabIndex = 7;
chkCloseToSystemTray.Text = "Close to System Tray";
chkCloseToSystemTray.UseVisualStyleBackColor = true;
//
// AppearancePage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.chkCloseToSystemTray);
this.Controls.Add(this.lblLanguageRestartRequired);
this.Controls.Add(this.cboLanguage);
this.Controls.Add(this.lblLanguage);
this.Controls.Add(this.chkShowFullConnectionsFilePathInTitle);
this.Controls.Add(this.chkShowDescriptionTooltipsInTree);
this.Controls.Add(this.chkShowSystemTrayIcon);
this.Controls.Add(this.chkMinimizeToSystemTray);
this.Name = "AppearancePage";
this.Size = new System.Drawing.Size(610, 490);
this.ResumeLayout(false);
this.PerformLayout();
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(chkCloseToSystemTray);
Controls.Add(lblLanguageRestartRequired);
Controls.Add(cboLanguage);
Controls.Add(lblLanguage);
Controls.Add(chkShowFullConnectionsFilePathInTitle);
Controls.Add(chkShowDescriptionTooltipsInTree);
Controls.Add(chkShowSystemTrayIcon);
Controls.Add(chkMinimizeToSystemTray);
Name = "AppearancePage";
Size = new System.Drawing.Size(610, 490);
ResumeLayout(false);
PerformLayout();
}
}
internal Controls.MrngLabel lblLanguageRestartRequired;
internal MrngComboBox cboLanguage;
internal Controls.MrngLabel lblLanguage;
internal MrngCheckBox chkShowFullConnectionsFilePathInTitle;
internal MrngCheckBox chkShowDescriptionTooltipsInTree;
internal MrngCheckBox chkShowSystemTrayIcon;
internal MrngCheckBox chkMinimizeToSystemTray;
internal Controls.MrngLabel lblLanguageRestartRequired;
internal MrngComboBox cboLanguage;
internal Controls.MrngLabel lblLanguage;
internal MrngCheckBox chkShowFullConnectionsFilePathInTitle;
internal MrngCheckBox chkShowDescriptionTooltipsInTree;
internal MrngCheckBox chkShowSystemTrayIcon;
internal MrngCheckBox chkMinimizeToSystemTray;
internal MrngCheckBox chkCloseToSystemTray;
}
}

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
{
private readonly FrmMain _frmMain = FrmMain.Default;
private List<DropdownList> _permissionsListing;
public BackupPage()
{
InitializeComponent();
@@ -80,7 +80,8 @@ namespace mRemoteNG.UI.Forms.OptionsPages
lblBackupNameFormat.Enabled = true;
lblConnectionsBackupPath.Visible = true;
lblConnectionsBackupPath.Enabled = true;
} else
}
else
{
lblACL.Visible = false;
lblBacupPageShowInOptionsMenu.Visible = false;
@@ -203,7 +204,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
public override void SaveSettings()
{
Properties.OptionsBackupPage.Default.BackupFileKeepCount = (int) numMaxBackups.Value;
Properties.OptionsBackupPage.Default.BackupFileKeepCount = (int)numMaxBackups.Value;
/*
if (Properties.OptionsBackupPage.Default.AutoSaveEveryMinutes > 0)
{
@@ -215,23 +216,23 @@ namespace mRemoteNG.UI.Forms.OptionsPages
_frmMain.tmrAutoSave.Enabled = false;
}
*/
Properties.OptionsBackupPage.Default.cbBackupEnableACL = (int) cbBackupEnableACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupTypeACL = (int) cbBackupTypeACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupFrequencyACL = (int) cbBackupFrequencyACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupNumberACL = (int) cbBackupNumberACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupNameFormatACL = (int) cbBackupNameFormatACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupLocationACL = (int) cbBackupLocationACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupEnableACL = (int)cbBackupEnableACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupTypeACL = (int)cbBackupTypeACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupFrequencyACL = (int)cbBackupFrequencyACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupNumberACL = (int)cbBackupNumberACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupNameFormatACL = (int)cbBackupNameFormatACL.SelectedValue;
Properties.OptionsBackupPage.Default.cbBackupLocationACL = (int)cbBackupLocationACL.SelectedValue;
Properties.OptionsBackupPage.Default.BackupFileNameFormat = (string) txtBackupNameFormat.Text;
Properties.OptionsBackupPage.Default.BackupFileNameFormat = (string)txtBackupNameFormat.Text;
Properties.OptionsBackupPage.Default.BackupConnectionsOnExit = (bool) cbMakeBackupOnExit.Checked;
Properties.OptionsBackupPage.Default.BackupConnectionsOnEdit = (bool) cbMakeBackupOnEdit.Checked;
Properties.OptionsBackupPage.Default.BackupConnectionsOnSave = (bool) cbMakeBackupOnSave.Checked;
Properties.OptionsBackupPage.Default.BackupConnectionsOnExit = (bool)cbMakeBackupOnExit.Checked;
Properties.OptionsBackupPage.Default.BackupConnectionsOnEdit = (bool)cbMakeBackupOnEdit.Checked;
Properties.OptionsBackupPage.Default.BackupConnectionsOnSave = (bool)cbMakeBackupOnSave.Checked;
Properties.OptionsBackupPage.Default.BackupFileKeepCount = (int) numMaxBackups.Value;
Properties.OptionsBackupPage.Default.BackupFileKeepCount = (int)numMaxBackups.Value;
Properties.OptionsBackupPage.Default.BackupLocation = (string)txtConnectionsBackupPath.Text;
Properties.OptionsBackupPage.Default.BackupLocation = (string) txtConnectionsBackupPath.Text;
Properties.OptionsBackupPage.Default.cbBacupPageInOptionMenu = cbBacupPageInOptionMenu.Checked;
//Save settings to persist changes between application sessions

View File

@@ -3,369 +3,347 @@ using mRemoteNG.Resources.Language;
namespace mRemoteNG.UI.Forms.OptionsPages
{
public sealed partial class ConnectionsPage : OptionsPage
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent()
{
this.numRDPConTimeout = new mRemoteNG.UI.Controls.MrngNumericUpDown();
this.lblRDPConTimeout = new mRemoteNG.UI.Controls.MrngLabel();
this.lblRdpReconnectionCount = new mRemoteNG.UI.Controls.MrngLabel();
this.numRdpReconnectionCount = new mRemoteNG.UI.Controls.MrngNumericUpDown();
this.chkSingleClickOnConnectionOpensIt = new MrngCheckBox();
this.chkHostnameLikeDisplayName = new MrngCheckBox();
this.chkSingleClickOnOpenedConnectionSwitchesToIt = new MrngCheckBox();
this.lblAutoSave1 = new mRemoteNG.UI.Controls.MrngLabel();
this.numAutoSave = new mRemoteNG.UI.Controls.MrngNumericUpDown();
this.pnlConfirmCloseConnection = new System.Windows.Forms.Panel();
this.lblClosingConnections = new mRemoteNG.UI.Controls.MrngLabel();
this.radCloseWarnAll = new mRemoteNG.UI.Controls.MrngRadioButton();
this.radCloseWarnMultiple = new mRemoteNG.UI.Controls.MrngRadioButton();
this.radCloseWarnExit = new mRemoteNG.UI.Controls.MrngRadioButton();
this.radCloseWarnNever = new mRemoteNG.UI.Controls.MrngRadioButton();
this.chkSaveConnectionsAfterEveryEdit = new MrngCheckBox();
this.chkUseFilterSearch = new MrngCheckBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.chkPlaceSearchBarAboveConnectionTree = new MrngCheckBox();
this.chkConnectionTreeTrackActiveConnection = new MrngCheckBox();
this.chkDoNotTrimUsername = new MrngCheckBox();
((System.ComponentModel.ISupportInitialize)(this.numRDPConTimeout)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numRdpReconnectionCount)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numAutoSave)).BeginInit();
this.pnlConfirmCloseConnection.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.SuspendLayout();
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
numRDPConTimeout = new MrngNumericUpDown();
lblRDPConTimeout = new MrngLabel();
lblRdpReconnectionCount = new MrngLabel();
numRdpReconnectionCount = new MrngNumericUpDown();
chkSingleClickOnConnectionOpensIt = new MrngCheckBox();
chkHostnameLikeDisplayName = new MrngCheckBox();
chkSingleClickOnOpenedConnectionSwitchesToIt = new MrngCheckBox();
lblAutoSave1 = new MrngLabel();
numAutoSave = new MrngNumericUpDown();
pnlConfirmCloseConnection = new System.Windows.Forms.Panel();
lblClosingConnections = new MrngLabel();
radCloseWarnAll = new MrngRadioButton();
radCloseWarnMultiple = new MrngRadioButton();
radCloseWarnExit = new MrngRadioButton();
radCloseWarnNever = new MrngRadioButton();
chkSaveConnectionsAfterEveryEdit = new MrngCheckBox();
chkUseFilterSearch = new MrngCheckBox();
tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
chkPlaceSearchBarAboveConnectionTree = new MrngCheckBox();
chkConnectionTreeTrackActiveConnection = new MrngCheckBox();
chkDoNotTrimUsername = new MrngCheckBox();
((System.ComponentModel.ISupportInitialize)numRDPConTimeout).BeginInit();
((System.ComponentModel.ISupportInitialize)numRdpReconnectionCount).BeginInit();
((System.ComponentModel.ISupportInitialize)numAutoSave).BeginInit();
pnlConfirmCloseConnection.SuspendLayout();
tableLayoutPanel2.SuspendLayout();
SuspendLayout();
//
// numRDPConTimeout
//
this.numRDPConTimeout.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.numRDPConTimeout.Location = new System.Drawing.Point(274, 29);
this.numRDPConTimeout.Maximum = new decimal(new int[] {
600,
0,
0,
0});
this.numRDPConTimeout.Minimum = new decimal(new int[] {
20,
0,
0,
0});
this.numRDPConTimeout.Name = "numRDPConTimeout";
this.numRDPConTimeout.Size = new System.Drawing.Size(53, 22);
this.numRDPConTimeout.TabIndex = 1;
this.numRDPConTimeout.Value = new decimal(new int[] {
20,
0,
0,
0});
numRDPConTimeout.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
numRDPConTimeout.Location = new System.Drawing.Point(274, 29);
numRDPConTimeout.Maximum = new decimal(new int[] { 600, 0, 0, 0 });
numRDPConTimeout.Minimum = new decimal(new int[] { 20, 0, 0, 0 });
numRDPConTimeout.Name = "numRDPConTimeout";
numRDPConTimeout.Size = new System.Drawing.Size(53, 22);
numRDPConTimeout.TabIndex = 1;
numRDPConTimeout.Value = new decimal(new int[] { 20, 0, 0, 0 });
//
// lblRDPConTimeout
//
this.lblRDPConTimeout.Dock = System.Windows.Forms.DockStyle.Top;
this.lblRDPConTimeout.Location = new System.Drawing.Point(3, 26);
this.lblRDPConTimeout.Name = "lblRDPConTimeout";
this.lblRDPConTimeout.Size = new System.Drawing.Size(265, 26);
this.lblRDPConTimeout.TabIndex = 0;
this.lblRDPConTimeout.Text = "RDP Connection Timeout";
this.lblRDPConTimeout.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
lblRDPConTimeout.Dock = System.Windows.Forms.DockStyle.Top;
lblRDPConTimeout.Location = new System.Drawing.Point(3, 26);
lblRDPConTimeout.Name = "lblRDPConTimeout";
lblRDPConTimeout.Size = new System.Drawing.Size(265, 26);
lblRDPConTimeout.TabIndex = 0;
lblRDPConTimeout.Text = "RDP Connection Timeout";
lblRDPConTimeout.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// lblRdpReconnectionCount
//
this.lblRdpReconnectionCount.Dock = System.Windows.Forms.DockStyle.Top;
this.lblRdpReconnectionCount.Location = new System.Drawing.Point(3, 0);
this.lblRdpReconnectionCount.Name = "lblRdpReconnectionCount";
this.lblRdpReconnectionCount.Size = new System.Drawing.Size(265, 26);
this.lblRdpReconnectionCount.TabIndex = 0;
this.lblRdpReconnectionCount.Text = "RDP Reconnection Count";
this.lblRdpReconnectionCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
lblRdpReconnectionCount.Dock = System.Windows.Forms.DockStyle.Top;
lblRdpReconnectionCount.Location = new System.Drawing.Point(3, 0);
lblRdpReconnectionCount.Name = "lblRdpReconnectionCount";
lblRdpReconnectionCount.Size = new System.Drawing.Size(265, 26);
lblRdpReconnectionCount.TabIndex = 0;
lblRdpReconnectionCount.Text = "RDP Reconnection Count";
lblRdpReconnectionCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// numRdpReconnectionCount
//
this.numRdpReconnectionCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.numRdpReconnectionCount.Location = new System.Drawing.Point(274, 3);
this.numRdpReconnectionCount.Maximum = new decimal(new int[] {
20,
0,
0,
0});
this.numRdpReconnectionCount.Name = "numRdpReconnectionCount";
this.numRdpReconnectionCount.Size = new System.Drawing.Size(53, 22);
this.numRdpReconnectionCount.TabIndex = 1;
this.numRdpReconnectionCount.Value = new decimal(new int[] {
5,
0,
0,
0});
numRdpReconnectionCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
numRdpReconnectionCount.Location = new System.Drawing.Point(274, 3);
numRdpReconnectionCount.Maximum = new decimal(new int[] { 20, 0, 0, 0 });
numRdpReconnectionCount.Name = "numRdpReconnectionCount";
numRdpReconnectionCount.Size = new System.Drawing.Size(53, 22);
numRdpReconnectionCount.TabIndex = 1;
numRdpReconnectionCount.Value = new decimal(new int[] { 5, 0, 0, 0 });
//
// chkSingleClickOnConnectionOpensIt
//
this.chkSingleClickOnConnectionOpensIt._mice = MrngCheckBox.MouseState.OUT;
this.chkSingleClickOnConnectionOpensIt.AutoSize = true;
this.chkSingleClickOnConnectionOpensIt.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkSingleClickOnConnectionOpensIt.Location = new System.Drawing.Point(3, 3);
this.chkSingleClickOnConnectionOpensIt.Name = "chkSingleClickOnConnectionOpensIt";
this.chkSingleClickOnConnectionOpensIt.Size = new System.Drawing.Size(206, 17);
this.chkSingleClickOnConnectionOpensIt.TabIndex = 0;
this.chkSingleClickOnConnectionOpensIt.Text = "Single click on connection opens it";
this.chkSingleClickOnConnectionOpensIt.UseVisualStyleBackColor = true;
chkSingleClickOnConnectionOpensIt._mice = MrngCheckBox.MouseState.OUT;
chkSingleClickOnConnectionOpensIt.AutoSize = true;
chkSingleClickOnConnectionOpensIt.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkSingleClickOnConnectionOpensIt.Location = new System.Drawing.Point(3, 3);
chkSingleClickOnConnectionOpensIt.Name = "chkSingleClickOnConnectionOpensIt";
chkSingleClickOnConnectionOpensIt.Size = new System.Drawing.Size(206, 17);
chkSingleClickOnConnectionOpensIt.TabIndex = 0;
chkSingleClickOnConnectionOpensIt.Text = "Single click on connection opens it";
chkSingleClickOnConnectionOpensIt.UseVisualStyleBackColor = true;
//
// chkHostnameLikeDisplayName
//
this.chkHostnameLikeDisplayName._mice = MrngCheckBox.MouseState.OUT;
this.chkHostnameLikeDisplayName.AutoSize = true;
this.chkHostnameLikeDisplayName.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkHostnameLikeDisplayName.Location = new System.Drawing.Point(3, 72);
this.chkHostnameLikeDisplayName.Name = "chkHostnameLikeDisplayName";
this.chkHostnameLikeDisplayName.Size = new System.Drawing.Size(355, 17);
this.chkHostnameLikeDisplayName.TabIndex = 2;
this.chkHostnameLikeDisplayName.Text = "Set hostname like display name when creating new connections";
this.chkHostnameLikeDisplayName.UseVisualStyleBackColor = true;
chkHostnameLikeDisplayName._mice = MrngCheckBox.MouseState.OUT;
chkHostnameLikeDisplayName.AutoSize = true;
chkHostnameLikeDisplayName.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkHostnameLikeDisplayName.Location = new System.Drawing.Point(3, 72);
chkHostnameLikeDisplayName.Name = "chkHostnameLikeDisplayName";
chkHostnameLikeDisplayName.Size = new System.Drawing.Size(355, 17);
chkHostnameLikeDisplayName.TabIndex = 2;
chkHostnameLikeDisplayName.Text = "Set hostname like display name when creating new connections";
chkHostnameLikeDisplayName.UseVisualStyleBackColor = true;
//
// chkSingleClickOnOpenedConnectionSwitchesToIt
//
this.chkSingleClickOnOpenedConnectionSwitchesToIt._mice = MrngCheckBox.MouseState.OUT;
this.chkSingleClickOnOpenedConnectionSwitchesToIt.AutoSize = true;
this.chkSingleClickOnOpenedConnectionSwitchesToIt.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkSingleClickOnOpenedConnectionSwitchesToIt.Location = new System.Drawing.Point(3, 26);
this.chkSingleClickOnOpenedConnectionSwitchesToIt.Name = "chkSingleClickOnOpenedConnectionSwitchesToIt";
this.chkSingleClickOnOpenedConnectionSwitchesToIt.Size = new System.Drawing.Size(492, 17);
this.chkSingleClickOnOpenedConnectionSwitchesToIt.TabIndex = 1;
this.chkSingleClickOnOpenedConnectionSwitchesToIt.Text = Language.SingleClickOnOpenConnectionSwitchesToIt;
this.chkSingleClickOnOpenedConnectionSwitchesToIt.UseVisualStyleBackColor = true;
chkSingleClickOnOpenedConnectionSwitchesToIt._mice = MrngCheckBox.MouseState.OUT;
chkSingleClickOnOpenedConnectionSwitchesToIt.AutoSize = true;
chkSingleClickOnOpenedConnectionSwitchesToIt.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkSingleClickOnOpenedConnectionSwitchesToIt.Location = new System.Drawing.Point(3, 26);
chkSingleClickOnOpenedConnectionSwitchesToIt.Name = "chkSingleClickOnOpenedConnectionSwitchesToIt";
chkSingleClickOnOpenedConnectionSwitchesToIt.Size = new System.Drawing.Size(492, 17);
chkSingleClickOnOpenedConnectionSwitchesToIt.TabIndex = 1;
chkSingleClickOnOpenedConnectionSwitchesToIt.Text = Language.SingleClickOnOpenConnectionSwitchesToIt;
chkSingleClickOnOpenedConnectionSwitchesToIt.UseVisualStyleBackColor = true;
//
// lblAutoSave1
//
this.lblAutoSave1.Dock = System.Windows.Forms.DockStyle.Top;
this.lblAutoSave1.Location = new System.Drawing.Point(3, 52);
this.lblAutoSave1.Name = "lblAutoSave1";
this.lblAutoSave1.Size = new System.Drawing.Size(265, 26);
this.lblAutoSave1.TabIndex = 0;
this.lblAutoSave1.Text = "Auto Save in Minutes (0 means disabled)";
this.lblAutoSave1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
lblAutoSave1.Dock = System.Windows.Forms.DockStyle.Top;
lblAutoSave1.Location = new System.Drawing.Point(3, 52);
lblAutoSave1.Name = "lblAutoSave1";
lblAutoSave1.Size = new System.Drawing.Size(265, 26);
lblAutoSave1.TabIndex = 0;
lblAutoSave1.Text = "Auto Save in Minutes (0 means disabled)";
lblAutoSave1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// numAutoSave
//
this.numAutoSave.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.numAutoSave.Location = new System.Drawing.Point(274, 55);
this.numAutoSave.Maximum = new decimal(new int[] {
9999,
0,
0,
0});
this.numAutoSave.Name = "numAutoSave";
this.numAutoSave.Size = new System.Drawing.Size(53, 22);
this.numAutoSave.TabIndex = 1;
numAutoSave.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
numAutoSave.Location = new System.Drawing.Point(274, 55);
numAutoSave.Maximum = new decimal(new int[] { 9999, 0, 0, 0 });
numAutoSave.Name = "numAutoSave";
numAutoSave.Size = new System.Drawing.Size(53, 22);
numAutoSave.TabIndex = 1;
//
// pnlConfirmCloseConnection
//
this.pnlConfirmCloseConnection.Controls.Add(this.lblClosingConnections);
this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnAll);
this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnMultiple);
this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnExit);
this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnNever);
this.pnlConfirmCloseConnection.Location = new System.Drawing.Point(3, 270);
this.pnlConfirmCloseConnection.Name = "pnlConfirmCloseConnection";
this.pnlConfirmCloseConnection.Size = new System.Drawing.Size(604, 137);
this.pnlConfirmCloseConnection.TabIndex = 6;
pnlConfirmCloseConnection.Controls.Add(lblClosingConnections);
pnlConfirmCloseConnection.Controls.Add(radCloseWarnAll);
pnlConfirmCloseConnection.Controls.Add(radCloseWarnMultiple);
pnlConfirmCloseConnection.Controls.Add(radCloseWarnExit);
pnlConfirmCloseConnection.Controls.Add(radCloseWarnNever);
pnlConfirmCloseConnection.Location = new System.Drawing.Point(3, 270);
pnlConfirmCloseConnection.Name = "pnlConfirmCloseConnection";
pnlConfirmCloseConnection.Size = new System.Drawing.Size(604, 137);
pnlConfirmCloseConnection.TabIndex = 6;
//
// lblClosingConnections
//
this.lblClosingConnections.AutoSize = true;
this.lblClosingConnections.Location = new System.Drawing.Point(3, 12);
this.lblClosingConnections.Name = "lblClosingConnections";
this.lblClosingConnections.Size = new System.Drawing.Size(147, 13);
this.lblClosingConnections.TabIndex = 0;
this.lblClosingConnections.Text = "When closing connections:";
lblClosingConnections.AutoSize = true;
lblClosingConnections.Location = new System.Drawing.Point(3, 12);
lblClosingConnections.Name = "lblClosingConnections";
lblClosingConnections.Size = new System.Drawing.Size(147, 13);
lblClosingConnections.TabIndex = 0;
lblClosingConnections.Text = "When closing connections:";
//
// radCloseWarnAll
//
this.radCloseWarnAll.AutoSize = true;
this.radCloseWarnAll.BackColor = System.Drawing.Color.Transparent;
this.radCloseWarnAll.Location = new System.Drawing.Point(16, 34);
this.radCloseWarnAll.Name = "radCloseWarnAll";
this.radCloseWarnAll.Size = new System.Drawing.Size(209, 17);
this.radCloseWarnAll.TabIndex = 1;
this.radCloseWarnAll.TabStop = true;
this.radCloseWarnAll.Text = "Warn me when closing connections";
this.radCloseWarnAll.UseVisualStyleBackColor = false;
radCloseWarnAll.AutoSize = true;
radCloseWarnAll.BackColor = System.Drawing.Color.Transparent;
radCloseWarnAll.Location = new System.Drawing.Point(16, 34);
radCloseWarnAll.Name = "radCloseWarnAll";
radCloseWarnAll.Size = new System.Drawing.Size(209, 17);
radCloseWarnAll.TabIndex = 1;
radCloseWarnAll.TabStop = true;
radCloseWarnAll.Text = "Warn me when closing connections";
radCloseWarnAll.UseVisualStyleBackColor = false;
//
// radCloseWarnMultiple
//
this.radCloseWarnMultiple.AutoSize = true;
this.radCloseWarnMultiple.BackColor = System.Drawing.Color.Transparent;
this.radCloseWarnMultiple.Location = new System.Drawing.Point(16, 57);
this.radCloseWarnMultiple.Name = "radCloseWarnMultiple";
this.radCloseWarnMultiple.Size = new System.Drawing.Size(279, 17);
this.radCloseWarnMultiple.TabIndex = 2;
this.radCloseWarnMultiple.TabStop = true;
this.radCloseWarnMultiple.Text = "Warn me only when closing multiple connections";
this.radCloseWarnMultiple.UseVisualStyleBackColor = false;
radCloseWarnMultiple.AutoSize = true;
radCloseWarnMultiple.BackColor = System.Drawing.Color.Transparent;
radCloseWarnMultiple.Location = new System.Drawing.Point(16, 57);
radCloseWarnMultiple.Name = "radCloseWarnMultiple";
radCloseWarnMultiple.Size = new System.Drawing.Size(279, 17);
radCloseWarnMultiple.TabIndex = 2;
radCloseWarnMultiple.TabStop = true;
radCloseWarnMultiple.Text = "Warn me only when closing multiple connections";
radCloseWarnMultiple.UseVisualStyleBackColor = false;
//
// radCloseWarnExit
//
this.radCloseWarnExit.AutoSize = true;
this.radCloseWarnExit.BackColor = System.Drawing.Color.Transparent;
this.radCloseWarnExit.Location = new System.Drawing.Point(16, 80);
this.radCloseWarnExit.Name = "radCloseWarnExit";
this.radCloseWarnExit.Size = new System.Drawing.Size(233, 17);
this.radCloseWarnExit.TabIndex = 3;
this.radCloseWarnExit.TabStop = true;
this.radCloseWarnExit.Text = "Warn me only when exiting mRemoteNG";
this.radCloseWarnExit.UseVisualStyleBackColor = false;
radCloseWarnExit.AutoSize = true;
radCloseWarnExit.BackColor = System.Drawing.Color.Transparent;
radCloseWarnExit.Location = new System.Drawing.Point(16, 80);
radCloseWarnExit.Name = "radCloseWarnExit";
radCloseWarnExit.Size = new System.Drawing.Size(233, 17);
radCloseWarnExit.TabIndex = 3;
radCloseWarnExit.TabStop = true;
radCloseWarnExit.Text = "Warn me only when exiting mRemoteNG";
radCloseWarnExit.UseVisualStyleBackColor = false;
//
// radCloseWarnNever
//
this.radCloseWarnNever.AutoSize = true;
this.radCloseWarnNever.BackColor = System.Drawing.Color.Transparent;
this.radCloseWarnNever.Location = new System.Drawing.Point(16, 103);
this.radCloseWarnNever.Name = "radCloseWarnNever";
this.radCloseWarnNever.Size = new System.Drawing.Size(246, 17);
this.radCloseWarnNever.TabIndex = 4;
this.radCloseWarnNever.TabStop = true;
this.radCloseWarnNever.Text = "Do not warn me when closing connections";
this.radCloseWarnNever.UseVisualStyleBackColor = false;
radCloseWarnNever.AutoSize = true;
radCloseWarnNever.BackColor = System.Drawing.Color.Transparent;
radCloseWarnNever.Location = new System.Drawing.Point(16, 103);
radCloseWarnNever.Name = "radCloseWarnNever";
radCloseWarnNever.Size = new System.Drawing.Size(246, 17);
radCloseWarnNever.TabIndex = 4;
radCloseWarnNever.TabStop = true;
radCloseWarnNever.Text = "Do not warn me when closing connections";
radCloseWarnNever.UseVisualStyleBackColor = false;
//
// chkSaveConnectionsAfterEveryEdit
//
this.chkSaveConnectionsAfterEveryEdit._mice = MrngCheckBox.MouseState.OUT;
this.chkSaveConnectionsAfterEveryEdit.AutoSize = true;
this.chkSaveConnectionsAfterEveryEdit.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkSaveConnectionsAfterEveryEdit.Location = new System.Drawing.Point(3, 95);
this.chkSaveConnectionsAfterEveryEdit.Name = "chkSaveConnectionsAfterEveryEdit";
this.chkSaveConnectionsAfterEveryEdit.Size = new System.Drawing.Size(194, 17);
this.chkSaveConnectionsAfterEveryEdit.TabIndex = 7;
this.chkSaveConnectionsAfterEveryEdit.Text = "Save connections after every edit";
this.chkSaveConnectionsAfterEveryEdit.UseVisualStyleBackColor = true;
chkSaveConnectionsAfterEveryEdit._mice = MrngCheckBox.MouseState.OUT;
chkSaveConnectionsAfterEveryEdit.AutoSize = true;
chkSaveConnectionsAfterEveryEdit.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkSaveConnectionsAfterEveryEdit.Location = new System.Drawing.Point(3, 95);
chkSaveConnectionsAfterEveryEdit.Name = "chkSaveConnectionsAfterEveryEdit";
chkSaveConnectionsAfterEveryEdit.Size = new System.Drawing.Size(194, 17);
chkSaveConnectionsAfterEveryEdit.TabIndex = 7;
chkSaveConnectionsAfterEveryEdit.Text = "Save connections after every edit";
chkSaveConnectionsAfterEveryEdit.UseVisualStyleBackColor = true;
//
// chkUseFilterSearch
//
this.chkUseFilterSearch._mice = MrngCheckBox.MouseState.OUT;
this.chkUseFilterSearch.AutoSize = true;
this.chkUseFilterSearch.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkUseFilterSearch.Location = new System.Drawing.Point(3, 118);
this.chkUseFilterSearch.Name = "chkUseFilterSearch";
this.chkUseFilterSearch.Size = new System.Drawing.Size(230, 17);
this.chkUseFilterSearch.TabIndex = 8;
this.chkUseFilterSearch.Text = "Filter search matches in connection tree";
this.chkUseFilterSearch.UseVisualStyleBackColor = true;
chkUseFilterSearch._mice = MrngCheckBox.MouseState.OUT;
chkUseFilterSearch.AutoSize = true;
chkUseFilterSearch.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkUseFilterSearch.Location = new System.Drawing.Point(3, 118);
chkUseFilterSearch.Name = "chkUseFilterSearch";
chkUseFilterSearch.Size = new System.Drawing.Size(230, 17);
chkUseFilterSearch.TabIndex = 8;
chkUseFilterSearch.Text = "Filter search matches in connection tree";
chkUseFilterSearch.UseVisualStyleBackColor = true;
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 2;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55F));
this.tableLayoutPanel2.Controls.Add(this.numRdpReconnectionCount, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.numAutoSave, 1, 2);
this.tableLayoutPanel2.Controls.Add(this.lblRdpReconnectionCount, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.lblAutoSave1, 0, 2);
this.tableLayoutPanel2.Controls.Add(this.lblRDPConTimeout, 0, 1);
this.tableLayoutPanel2.Controls.Add(this.numRDPConTimeout, 1, 1);
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 185);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 3;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(604, 79);
this.tableLayoutPanel2.TabIndex = 9;
tableLayoutPanel2.ColumnCount = 2;
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45F));
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55F));
tableLayoutPanel2.Controls.Add(numRdpReconnectionCount, 1, 0);
tableLayoutPanel2.Controls.Add(numAutoSave, 1, 2);
tableLayoutPanel2.Controls.Add(lblRdpReconnectionCount, 0, 0);
tableLayoutPanel2.Controls.Add(lblAutoSave1, 0, 2);
tableLayoutPanel2.Controls.Add(lblRDPConTimeout, 0, 1);
tableLayoutPanel2.Controls.Add(numRDPConTimeout, 1, 1);
tableLayoutPanel2.Location = new System.Drawing.Point(3, 185);
tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 3;
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel2.Size = new System.Drawing.Size(604, 79);
tableLayoutPanel2.TabIndex = 9;
//
// chkPlaceSearchBarAboveConnectionTree
//
this.chkPlaceSearchBarAboveConnectionTree._mice = MrngCheckBox.MouseState.OUT;
this.chkPlaceSearchBarAboveConnectionTree.AutoSize = true;
this.chkPlaceSearchBarAboveConnectionTree.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkPlaceSearchBarAboveConnectionTree.Location = new System.Drawing.Point(3, 141);
this.chkPlaceSearchBarAboveConnectionTree.Name = "chkPlaceSearchBarAboveConnectionTree";
this.chkPlaceSearchBarAboveConnectionTree.Size = new System.Drawing.Size(226, 17);
this.chkPlaceSearchBarAboveConnectionTree.TabIndex = 8;
this.chkPlaceSearchBarAboveConnectionTree.Text = "Place search bar above connection tree";
this.chkPlaceSearchBarAboveConnectionTree.UseVisualStyleBackColor = true;
chkPlaceSearchBarAboveConnectionTree._mice = MrngCheckBox.MouseState.OUT;
chkPlaceSearchBarAboveConnectionTree.AutoSize = true;
chkPlaceSearchBarAboveConnectionTree.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkPlaceSearchBarAboveConnectionTree.Location = new System.Drawing.Point(3, 141);
chkPlaceSearchBarAboveConnectionTree.Name = "chkPlaceSearchBarAboveConnectionTree";
chkPlaceSearchBarAboveConnectionTree.Size = new System.Drawing.Size(226, 17);
chkPlaceSearchBarAboveConnectionTree.TabIndex = 8;
chkPlaceSearchBarAboveConnectionTree.Text = "Place search bar above connection tree";
chkPlaceSearchBarAboveConnectionTree.UseVisualStyleBackColor = true;
//
// chkConnectionTreeTrackActiveConnection
//
this.chkConnectionTreeTrackActiveConnection._mice = MrngCheckBox.MouseState.OUT;
this.chkConnectionTreeTrackActiveConnection.AutoSize = true;
this.chkConnectionTreeTrackActiveConnection.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkConnectionTreeTrackActiveConnection.Location = new System.Drawing.Point(3, 49);
this.chkConnectionTreeTrackActiveConnection.Name = "chkConnectionTreeTrackActiveConnection";
this.chkConnectionTreeTrackActiveConnection.Size = new System.Drawing.Size(262, 17);
this.chkConnectionTreeTrackActiveConnection.TabIndex = 10;
this.chkConnectionTreeTrackActiveConnection.Text = "Track active connection in the connection tree";
this.chkConnectionTreeTrackActiveConnection.UseVisualStyleBackColor = true;
chkConnectionTreeTrackActiveConnection._mice = MrngCheckBox.MouseState.OUT;
chkConnectionTreeTrackActiveConnection.AutoSize = true;
chkConnectionTreeTrackActiveConnection.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkConnectionTreeTrackActiveConnection.Location = new System.Drawing.Point(3, 49);
chkConnectionTreeTrackActiveConnection.Name = "chkConnectionTreeTrackActiveConnection";
chkConnectionTreeTrackActiveConnection.Size = new System.Drawing.Size(262, 17);
chkConnectionTreeTrackActiveConnection.TabIndex = 10;
chkConnectionTreeTrackActiveConnection.Text = "Track active connection in the connection tree";
chkConnectionTreeTrackActiveConnection.UseVisualStyleBackColor = true;
//
// chkDoNotTrimUsername
//
this.chkDoNotTrimUsername._mice = MrngCheckBox.MouseState.OUT;
this.chkDoNotTrimUsername.AutoSize = true;
this.chkDoNotTrimUsername.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkDoNotTrimUsername.Location = new System.Drawing.Point(3, 165);
this.chkDoNotTrimUsername.Name = "chkDoNotTrimUsername";
this.chkDoNotTrimUsername.Size = new System.Drawing.Size(143, 17);
this.chkDoNotTrimUsername.TabIndex = 11;
this.chkDoNotTrimUsername.Text = "Do not trim usernames";
this.chkDoNotTrimUsername.UseVisualStyleBackColor = true;
chkDoNotTrimUsername._mice = MrngCheckBox.MouseState.OUT;
chkDoNotTrimUsername.AutoSize = true;
chkDoNotTrimUsername.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkDoNotTrimUsername.Location = new System.Drawing.Point(3, 165);
chkDoNotTrimUsername.Name = "chkDoNotTrimUsername";
chkDoNotTrimUsername.Size = new System.Drawing.Size(143, 17);
chkDoNotTrimUsername.TabIndex = 11;
chkDoNotTrimUsername.Text = "Do not trim usernames";
chkDoNotTrimUsername.UseVisualStyleBackColor = true;
//
// ConnectionsPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.chkDoNotTrimUsername);
this.Controls.Add(this.chkConnectionTreeTrackActiveConnection);
this.Controls.Add(this.tableLayoutPanel2);
this.Controls.Add(this.chkPlaceSearchBarAboveConnectionTree);
this.Controls.Add(this.chkUseFilterSearch);
this.Controls.Add(this.chkSaveConnectionsAfterEveryEdit);
this.Controls.Add(this.chkSingleClickOnConnectionOpensIt);
this.Controls.Add(this.chkHostnameLikeDisplayName);
this.Controls.Add(this.chkSingleClickOnOpenedConnectionSwitchesToIt);
this.Controls.Add(this.pnlConfirmCloseConnection);
this.Name = "ConnectionsPage";
this.Size = new System.Drawing.Size(610, 490);
((System.ComponentModel.ISupportInitialize)(this.numRDPConTimeout)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numRdpReconnectionCount)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numAutoSave)).EndInit();
this.pnlConfirmCloseConnection.ResumeLayout(false);
this.pnlConfirmCloseConnection.PerformLayout();
this.tableLayoutPanel2.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(chkDoNotTrimUsername);
Controls.Add(chkConnectionTreeTrackActiveConnection);
Controls.Add(tableLayoutPanel2);
Controls.Add(chkPlaceSearchBarAboveConnectionTree);
Controls.Add(chkUseFilterSearch);
Controls.Add(chkSaveConnectionsAfterEveryEdit);
Controls.Add(chkSingleClickOnConnectionOpensIt);
Controls.Add(chkHostnameLikeDisplayName);
Controls.Add(chkSingleClickOnOpenedConnectionSwitchesToIt);
Controls.Add(pnlConfirmCloseConnection);
Name = "ConnectionsPage";
Size = new System.Drawing.Size(610, 490);
((System.ComponentModel.ISupportInitialize)numRDPConTimeout).EndInit();
((System.ComponentModel.ISupportInitialize)numRdpReconnectionCount).EndInit();
((System.ComponentModel.ISupportInitialize)numAutoSave).EndInit();
pnlConfirmCloseConnection.ResumeLayout(false);
pnlConfirmCloseConnection.PerformLayout();
tableLayoutPanel2.ResumeLayout(false);
ResumeLayout(false);
PerformLayout();
}
}
internal Controls.MrngLabel lblRdpReconnectionCount;
internal MrngCheckBox chkSingleClickOnConnectionOpensIt;
internal MrngCheckBox chkHostnameLikeDisplayName;
internal MrngCheckBox chkSingleClickOnOpenedConnectionSwitchesToIt;
internal Controls.MrngLabel lblAutoSave1;
internal Controls.MrngNumericUpDown numAutoSave;
internal System.Windows.Forms.Panel pnlConfirmCloseConnection;
internal Controls.MrngLabel lblClosingConnections;
internal Controls.MrngRadioButton radCloseWarnAll;
internal Controls.MrngRadioButton radCloseWarnMultiple;
internal Controls.MrngRadioButton radCloseWarnExit;
internal Controls.MrngRadioButton radCloseWarnNever;
internal Controls.MrngLabel lblRdpReconnectionCount;
internal MrngCheckBox chkSingleClickOnConnectionOpensIt;
internal MrngCheckBox chkHostnameLikeDisplayName;
internal MrngCheckBox chkSingleClickOnOpenedConnectionSwitchesToIt;
internal Controls.MrngLabel lblAutoSave1;
internal Controls.MrngNumericUpDown numAutoSave;
internal System.Windows.Forms.Panel pnlConfirmCloseConnection;
internal Controls.MrngLabel lblClosingConnections;
internal Controls.MrngRadioButton radCloseWarnAll;
internal Controls.MrngRadioButton radCloseWarnMultiple;
internal Controls.MrngRadioButton radCloseWarnExit;
internal Controls.MrngRadioButton radCloseWarnNever;
internal Controls.MrngNumericUpDown numRDPConTimeout;
internal Controls.MrngLabel lblRDPConTimeout;
internal Controls.MrngNumericUpDown numRdpReconnectionCount;

View File

@@ -12,7 +12,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
public sealed partial class ConnectionsPage
{
private readonly FrmMain _frmMain = FrmMain.Default;
private List<DropdownList> _connectionWarning;
private List<DropdownList> _connectionWarning;
public ConnectionsPage()
{
@@ -30,8 +30,8 @@ namespace mRemoteNG.UI.Forms.OptionsPages
public override void ApplyLanguage()
{
base.ApplyLanguage();
_connectionWarning = new List<DropdownList>
_connectionWarning = new List<DropdownList>
{
{ new DropdownList((int)ConfirmCloseEnum.Never, Language.RadioCloseWarnMultiple)},
{ new DropdownList((int)ConfirmCloseEnum.Exit, Language.RadioCloseWarnExit)},
@@ -54,7 +54,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
lblRdpReconnectionCount.Text = Language.RdpReconnectCount;
lblRDPConTimeout.Text = Language.RdpOverallConnectionTimeout;
lblAutoSave1.Text = Language.AutoSaveEvery;
//ngLabel1.Text = Language.strLabelClosingConnections;
//ngLabel1.Text = Language.strLabelClosingConnections;
}
@@ -64,7 +64,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
chkSingleClickOnOpenedConnectionSwitchesToIt.Checked = Settings.Default.SingleClickSwitchesToOpenConnection;
chkConnectionTreeTrackActiveConnection.Checked = Settings.Default.TrackActiveConnectionInConnectionTree;
chkHostnameLikeDisplayName.Checked = Settings.Default.SetHostnameLikeDisplayName;
chkUseFilterSearch.Checked = Settings.Default.UseFilterSearch;
chkPlaceSearchBarAboveConnectionTree.Checked = Settings.Default.PlaceSearchBarAboveConnectionTree;
chkDoNotTrimUsername.Checked = Settings.Default.DoNotTrimUsername;
@@ -77,7 +77,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
if (Properties.OptionsBackupPage.Default.SaveConnectionsFrequency == (int)ConnectionsBackupFrequencyEnum.Unassigned)
{
if (Properties.OptionsBackupPage.Default.SaveConnectionsAfterEveryEdit)
if (Properties.OptionsBackupPage.Default.SaveConnectionsAfterEveryEdit)
{
Properties.OptionsBackupPage.Default.SaveConnectionsFrequency = (int)ConnectionsBackupFrequencyEnum.OnEdit;
}

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -28,206 +28,206 @@
/// </summary>
private void InitializeComponent()
{
this.pnlDefaultCredentials = new System.Windows.Forms.Panel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.txtCredentialsUserViaAPI = new mRemoteNG.UI.Controls.MrngTextBox();
this.txtCredentialsUsername = new mRemoteNG.UI.Controls.MrngTextBox();
this.txtCredentialsPassword = new mRemoteNG.UI.Controls.MrngTextBox();
this.txtCredentialsDomain = new mRemoteNG.UI.Controls.MrngTextBox();
this.lblCredentialsDomain = new mRemoteNG.UI.Controls.MrngLabel();
this.lblCredentialsUserViaAPI = new mRemoteNG.UI.Controls.MrngLabel();
this.lblCredentialsUsername = new mRemoteNG.UI.Controls.MrngLabel();
this.lblCredentialsPassword = new mRemoteNG.UI.Controls.MrngLabel();
this.radCredentialsCustom = new mRemoteNG.UI.Controls.MrngRadioButton();
this.lblDefaultCredentials = new mRemoteNG.UI.Controls.MrngLabel();
this.radCredentialsNoInfo = new mRemoteNG.UI.Controls.MrngRadioButton();
this.radCredentialsWindows = new mRemoteNG.UI.Controls.MrngRadioButton();
this.pnlDefaultCredentials.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
pnlDefaultCredentials = new System.Windows.Forms.Panel();
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
txtCredentialsUserViaAPI = new Controls.MrngTextBox();
txtCredentialsUsername = new Controls.MrngTextBox();
txtCredentialsPassword = new Controls.MrngTextBox();
txtCredentialsDomain = new Controls.MrngTextBox();
lblCredentialsUserViaAPI = new Controls.MrngLabel();
lblCredentialsUsername = new Controls.MrngLabel();
lblCredentialsPassword = new Controls.MrngLabel();
lblCredentialsDomain = new Controls.MrngLabel();
radCredentialsCustom = new Controls.MrngRadioButton();
lblDefaultCredentials = new Controls.MrngLabel();
radCredentialsNoInfo = new Controls.MrngRadioButton();
radCredentialsWindows = new Controls.MrngRadioButton();
pnlDefaultCredentials.SuspendLayout();
tableLayoutPanel1.SuspendLayout();
SuspendLayout();
//
// pnlDefaultCredentials
//
this.pnlDefaultCredentials.Controls.Add(this.tableLayoutPanel1);
this.pnlDefaultCredentials.Controls.Add(this.radCredentialsCustom);
this.pnlDefaultCredentials.Controls.Add(this.lblDefaultCredentials);
this.pnlDefaultCredentials.Controls.Add(this.radCredentialsNoInfo);
this.pnlDefaultCredentials.Controls.Add(this.radCredentialsWindows);
this.pnlDefaultCredentials.Location = new System.Drawing.Point(3, 3);
this.pnlDefaultCredentials.Name = "pnlDefaultCredentials";
this.pnlDefaultCredentials.Size = new System.Drawing.Size(604, 200);
this.pnlDefaultCredentials.TabIndex = 0;
pnlDefaultCredentials.Controls.Add(tableLayoutPanel1);
pnlDefaultCredentials.Controls.Add(radCredentialsCustom);
pnlDefaultCredentials.Controls.Add(lblDefaultCredentials);
pnlDefaultCredentials.Controls.Add(radCredentialsNoInfo);
pnlDefaultCredentials.Controls.Add(radCredentialsWindows);
pnlDefaultCredentials.Location = new System.Drawing.Point(3, 3);
pnlDefaultCredentials.Name = "pnlDefaultCredentials";
pnlDefaultCredentials.Size = new System.Drawing.Size(604, 200);
pnlDefaultCredentials.TabIndex = 0;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 160F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Controls.Add(this.txtCredentialsUserViaAPI, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.txtCredentialsUsername, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.txtCredentialsPassword, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.txtCredentialsDomain, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.lblCredentialsUserViaAPI, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.lblCredentialsUsername, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.lblCredentialsPassword, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.lblCredentialsDomain, 0, 3);
this.tableLayoutPanel1.Location = new System.Drawing.Point(23, 85);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 3;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(332, 110);
this.tableLayoutPanel1.TabIndex = 1;
tableLayoutPanel1.ColumnCount = 2;
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 160F));
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.Controls.Add(txtCredentialsUserViaAPI, 1, 0);
tableLayoutPanel1.Controls.Add(txtCredentialsUsername, 1, 1);
tableLayoutPanel1.Controls.Add(txtCredentialsPassword, 1, 2);
tableLayoutPanel1.Controls.Add(txtCredentialsDomain, 1, 3);
tableLayoutPanel1.Controls.Add(lblCredentialsUserViaAPI, 0, 0);
tableLayoutPanel1.Controls.Add(lblCredentialsUsername, 0, 1);
tableLayoutPanel1.Controls.Add(lblCredentialsPassword, 0, 2);
tableLayoutPanel1.Controls.Add(lblCredentialsDomain, 0, 3);
tableLayoutPanel1.Location = new System.Drawing.Point(23, 85);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 3;
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
tableLayoutPanel1.Size = new System.Drawing.Size(332, 110);
tableLayoutPanel1.TabIndex = 1;
//
// txtCredentialsUserViaAPI
//
this.txtCredentialsUserViaAPI.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtCredentialsUserViaAPI.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtCredentialsUserViaAPI.Enabled = false;
this.txtCredentialsUserViaAPI.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtCredentialsUserViaAPI.Location = new System.Drawing.Point(163, 3);
this.txtCredentialsUserViaAPI.Name = "txtCredentialsUserViaAPI";
this.txtCredentialsUserViaAPI.Size = new System.Drawing.Size(166, 22);
this.txtCredentialsUserViaAPI.TabIndex = 5;
txtCredentialsUserViaAPI.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtCredentialsUserViaAPI.Dock = System.Windows.Forms.DockStyle.Fill;
txtCredentialsUserViaAPI.Enabled = false;
txtCredentialsUserViaAPI.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtCredentialsUserViaAPI.Location = new System.Drawing.Point(163, 3);
txtCredentialsUserViaAPI.Name = "txtCredentialsUserViaAPI";
txtCredentialsUserViaAPI.Size = new System.Drawing.Size(166, 22);
txtCredentialsUserViaAPI.TabIndex = 5;
//
// txtCredentialsUsername
//
this.txtCredentialsUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtCredentialsUsername.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtCredentialsUsername.Enabled = false;
this.txtCredentialsUsername.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtCredentialsUsername.Location = new System.Drawing.Point(163, 3);
this.txtCredentialsUsername.Name = "txtCredentialsUsername";
this.txtCredentialsUsername.Size = new System.Drawing.Size(166, 22);
this.txtCredentialsUsername.TabIndex = 5;
txtCredentialsUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtCredentialsUsername.Dock = System.Windows.Forms.DockStyle.Fill;
txtCredentialsUsername.Enabled = false;
txtCredentialsUsername.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtCredentialsUsername.Location = new System.Drawing.Point(163, 29);
txtCredentialsUsername.Name = "txtCredentialsUsername";
txtCredentialsUsername.Size = new System.Drawing.Size(166, 22);
txtCredentialsUsername.TabIndex = 5;
//
// txtCredentialsPassword
//
this.txtCredentialsPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtCredentialsPassword.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtCredentialsPassword.Enabled = false;
this.txtCredentialsPassword.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtCredentialsPassword.Location = new System.Drawing.Point(163, 29);
this.txtCredentialsPassword.Name = "txtCredentialsPassword";
this.txtCredentialsPassword.Size = new System.Drawing.Size(166, 22);
this.txtCredentialsPassword.TabIndex = 7;
this.txtCredentialsPassword.UseSystemPasswordChar = true;
txtCredentialsPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtCredentialsPassword.Dock = System.Windows.Forms.DockStyle.Fill;
txtCredentialsPassword.Enabled = false;
txtCredentialsPassword.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtCredentialsPassword.Location = new System.Drawing.Point(163, 55);
txtCredentialsPassword.Name = "txtCredentialsPassword";
txtCredentialsPassword.Size = new System.Drawing.Size(166, 22);
txtCredentialsPassword.TabIndex = 7;
txtCredentialsPassword.UseSystemPasswordChar = true;
//
// txtCredentialsDomain
//
this.txtCredentialsDomain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtCredentialsDomain.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtCredentialsDomain.Enabled = false;
this.txtCredentialsDomain.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtCredentialsDomain.Location = new System.Drawing.Point(163, 55);
this.txtCredentialsDomain.Name = "txtCredentialsDomain";
this.txtCredentialsDomain.Size = new System.Drawing.Size(166, 22);
this.txtCredentialsDomain.TabIndex = 9;
//
// lblCredentialsDomain
//
this.lblCredentialsDomain.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.lblCredentialsDomain.Enabled = false;
this.lblCredentialsDomain.Location = new System.Drawing.Point(3, 57);
this.lblCredentialsDomain.Name = "lblCredentialsDomain";
this.lblCredentialsDomain.Size = new System.Drawing.Size(154, 19);
this.lblCredentialsDomain.TabIndex = 8;
this.lblCredentialsDomain.Text = "Domain:";
this.lblCredentialsDomain.TextAlign = System.Drawing.ContentAlignment.TopRight;
txtCredentialsDomain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtCredentialsDomain.Dock = System.Windows.Forms.DockStyle.Fill;
txtCredentialsDomain.Enabled = false;
txtCredentialsDomain.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtCredentialsDomain.Location = new System.Drawing.Point(163, 81);
txtCredentialsDomain.Name = "txtCredentialsDomain";
txtCredentialsDomain.Size = new System.Drawing.Size(166, 22);
txtCredentialsDomain.TabIndex = 9;
//
// lblCredentialsUserViaAPI
//
this.lblCredentialsUserViaAPI.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.lblCredentialsUserViaAPI.Enabled = false;
this.lblCredentialsUserViaAPI.Location = new System.Drawing.Point(3, 3);
this.lblCredentialsUserViaAPI.Name = "lblCredentialsUserViaAPI";
this.lblCredentialsUserViaAPI.Size = new System.Drawing.Size(154, 19);
this.lblCredentialsUserViaAPI.TabIndex = 4;
this.lblCredentialsUserViaAPI.Text = "User via API ID:";
this.lblCredentialsUserViaAPI.TextAlign = System.Drawing.ContentAlignment.TopRight;
lblCredentialsUserViaAPI.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
lblCredentialsUserViaAPI.Enabled = false;
lblCredentialsUserViaAPI.Location = new System.Drawing.Point(3, 3);
lblCredentialsUserViaAPI.Name = "lblCredentialsUserViaAPI";
lblCredentialsUserViaAPI.Size = new System.Drawing.Size(154, 19);
lblCredentialsUserViaAPI.TabIndex = 4;
lblCredentialsUserViaAPI.Text = "User via API ID:";
lblCredentialsUserViaAPI.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// lblCredentialsUsername
//
this.lblCredentialsUsername.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.lblCredentialsUsername.Enabled = false;
this.lblCredentialsUsername.Location = new System.Drawing.Point(3, 3);
this.lblCredentialsUsername.Name = "lblCredentialsUsername";
this.lblCredentialsUsername.Size = new System.Drawing.Size(154, 19);
this.lblCredentialsUsername.TabIndex = 4;
this.lblCredentialsUsername.Text = "Username:";
this.lblCredentialsUsername.TextAlign = System.Drawing.ContentAlignment.TopRight;
lblCredentialsUsername.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
lblCredentialsUsername.Enabled = false;
lblCredentialsUsername.Location = new System.Drawing.Point(3, 29);
lblCredentialsUsername.Name = "lblCredentialsUsername";
lblCredentialsUsername.Size = new System.Drawing.Size(154, 19);
lblCredentialsUsername.TabIndex = 4;
lblCredentialsUsername.Text = "Username:";
lblCredentialsUsername.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// lblCredentialsPassword
//
this.lblCredentialsPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.lblCredentialsPassword.Enabled = false;
this.lblCredentialsPassword.Location = new System.Drawing.Point(3, 29);
this.lblCredentialsPassword.Name = "lblCredentialsPassword";
this.lblCredentialsPassword.Size = new System.Drawing.Size(154, 19);
this.lblCredentialsPassword.TabIndex = 6;
this.lblCredentialsPassword.Text = "Password:";
this.lblCredentialsPassword.TextAlign = System.Drawing.ContentAlignment.TopRight;
lblCredentialsPassword.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
lblCredentialsPassword.Enabled = false;
lblCredentialsPassword.Location = new System.Drawing.Point(3, 55);
lblCredentialsPassword.Name = "lblCredentialsPassword";
lblCredentialsPassword.Size = new System.Drawing.Size(154, 19);
lblCredentialsPassword.TabIndex = 6;
lblCredentialsPassword.Text = "Password:";
lblCredentialsPassword.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// lblCredentialsDomain
//
lblCredentialsDomain.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
lblCredentialsDomain.Enabled = false;
lblCredentialsDomain.Location = new System.Drawing.Point(3, 84);
lblCredentialsDomain.Name = "lblCredentialsDomain";
lblCredentialsDomain.Size = new System.Drawing.Size(154, 19);
lblCredentialsDomain.TabIndex = 8;
lblCredentialsDomain.Text = "Domain:";
lblCredentialsDomain.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// radCredentialsCustom
//
this.radCredentialsCustom.AutoSize = true;
this.radCredentialsCustom.BackColor = System.Drawing.Color.Transparent;
this.radCredentialsCustom.Location = new System.Drawing.Point(3, 62);
this.radCredentialsCustom.Name = "radCredentialsCustom";
this.radCredentialsCustom.Size = new System.Drawing.Size(98, 17);
this.radCredentialsCustom.TabIndex = 3;
this.radCredentialsCustom.Text = "the following:";
this.radCredentialsCustom.UseVisualStyleBackColor = false;
this.radCredentialsCustom.CheckedChanged += new System.EventHandler(this.radCredentialsCustom_CheckedChanged);
radCredentialsCustom.AutoSize = true;
radCredentialsCustom.BackColor = System.Drawing.Color.Transparent;
radCredentialsCustom.Location = new System.Drawing.Point(3, 62);
radCredentialsCustom.Name = "radCredentialsCustom";
radCredentialsCustom.Size = new System.Drawing.Size(98, 17);
radCredentialsCustom.TabIndex = 3;
radCredentialsCustom.Text = "the following:";
radCredentialsCustom.UseVisualStyleBackColor = false;
radCredentialsCustom.CheckedChanged += radCredentialsCustom_CheckedChanged;
//
// lblDefaultCredentials
//
this.lblDefaultCredentials.AutoSize = true;
this.lblDefaultCredentials.Location = new System.Drawing.Point(0, 0);
this.lblDefaultCredentials.Name = "lblDefaultCredentials";
this.lblDefaultCredentials.Size = new System.Drawing.Size(279, 13);
this.lblDefaultCredentials.TabIndex = 0;
this.lblDefaultCredentials.Text = "For empty Username, Password or Domain fields use:";
lblDefaultCredentials.AutoSize = true;
lblDefaultCredentials.Location = new System.Drawing.Point(0, 0);
lblDefaultCredentials.Name = "lblDefaultCredentials";
lblDefaultCredentials.Size = new System.Drawing.Size(279, 13);
lblDefaultCredentials.TabIndex = 0;
lblDefaultCredentials.Text = "For empty Username, Password or Domain fields use:";
//
// radCredentialsNoInfo
//
this.radCredentialsNoInfo.AutoSize = true;
this.radCredentialsNoInfo.BackColor = System.Drawing.Color.Transparent;
this.radCredentialsNoInfo.Checked = true;
this.radCredentialsNoInfo.Location = new System.Drawing.Point(3, 16);
this.radCredentialsNoInfo.Name = "radCredentialsNoInfo";
this.radCredentialsNoInfo.Size = new System.Drawing.Size(103, 17);
this.radCredentialsNoInfo.TabIndex = 1;
this.radCredentialsNoInfo.TabStop = true;
this.radCredentialsNoInfo.Text = "no information";
this.radCredentialsNoInfo.UseVisualStyleBackColor = false;
radCredentialsNoInfo.AutoSize = true;
radCredentialsNoInfo.BackColor = System.Drawing.Color.Transparent;
radCredentialsNoInfo.Checked = true;
radCredentialsNoInfo.Location = new System.Drawing.Point(3, 16);
radCredentialsNoInfo.Name = "radCredentialsNoInfo";
radCredentialsNoInfo.Size = new System.Drawing.Size(103, 17);
radCredentialsNoInfo.TabIndex = 1;
radCredentialsNoInfo.TabStop = true;
radCredentialsNoInfo.Text = "no information";
radCredentialsNoInfo.UseVisualStyleBackColor = false;
//
// radCredentialsWindows
//
this.radCredentialsWindows.AutoSize = true;
this.radCredentialsWindows.BackColor = System.Drawing.Color.Transparent;
this.radCredentialsWindows.Location = new System.Drawing.Point(3, 39);
this.radCredentialsWindows.Name = "radCredentialsWindows";
this.radCredentialsWindows.Size = new System.Drawing.Size(252, 17);
this.radCredentialsWindows.TabIndex = 2;
this.radCredentialsWindows.Text = "my current credentials (windows logon info)";
this.radCredentialsWindows.UseVisualStyleBackColor = false;
radCredentialsWindows.AutoSize = true;
radCredentialsWindows.BackColor = System.Drawing.Color.Transparent;
radCredentialsWindows.Location = new System.Drawing.Point(3, 39);
radCredentialsWindows.Name = "radCredentialsWindows";
radCredentialsWindows.Size = new System.Drawing.Size(252, 17);
radCredentialsWindows.TabIndex = 2;
radCredentialsWindows.Text = "my current credentials (windows logon info)";
radCredentialsWindows.UseVisualStyleBackColor = false;
//
// CredentialsPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.pnlDefaultCredentials);
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "CredentialsPage";
this.Size = new System.Drawing.Size(610, 490);
this.pnlDefaultCredentials.ResumeLayout(false);
this.pnlDefaultCredentials.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.ResumeLayout(false);
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(pnlDefaultCredentials);
Margin = new System.Windows.Forms.Padding(4);
Name = "CredentialsPage";
Size = new System.Drawing.Size(610, 490);
pnlDefaultCredentials.ResumeLayout(false);
pnlDefaultCredentials.PerformLayout();
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout();
ResumeLayout(false);
}
#endregion

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -30,181 +30,176 @@ namespace mRemoteNG.UI.Forms.OptionsPages
/// </summary>
private void InitializeComponent()
{
this.chkEncryptCompleteFile = new MrngCheckBox();
this.comboBoxEncryptionEngine = new MrngComboBox();
this.labelEncryptionEngine = new mRemoteNG.UI.Controls.MrngLabel();
this.labelBlockCipher = new mRemoteNG.UI.Controls.MrngLabel();
this.comboBoxBlockCipher = new MrngComboBox();
this.groupAdvancedSecurityOptions = new MrngGroupBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.btnTestSettings = new MrngButton();
this.labelKdfIterations = new mRemoteNG.UI.Controls.MrngLabel();
this.numberBoxKdfIterations = new mRemoteNG.UI.Controls.MrngNumericUpDown();
this.groupAdvancedSecurityOptions.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numberBoxKdfIterations)).BeginInit();
this.SuspendLayout();
chkEncryptCompleteFile = new MrngCheckBox();
comboBoxEncryptionEngine = new MrngComboBox();
labelEncryptionEngine = new MrngLabel();
labelBlockCipher = new MrngLabel();
comboBoxBlockCipher = new MrngComboBox();
groupAdvancedSecurityOptions = new MrngGroupBox();
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
labelKdfIterations = new MrngLabel();
numberBoxKdfIterations = new MrngNumericUpDown();
btnTestSettings = new MrngButton();
groupAdvancedSecurityOptions.SuspendLayout();
tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)numberBoxKdfIterations).BeginInit();
SuspendLayout();
//
// chkEncryptCompleteFile
//
this.chkEncryptCompleteFile._mice = MrngCheckBox.MouseState.OUT;
this.chkEncryptCompleteFile.AutoSize = true;
this.chkEncryptCompleteFile.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkEncryptCompleteFile.Location = new System.Drawing.Point(3, 3);
this.chkEncryptCompleteFile.Name = "chkEncryptCompleteFile";
this.chkEncryptCompleteFile.Size = new System.Drawing.Size(194, 17);
this.chkEncryptCompleteFile.TabIndex = 0;
this.chkEncryptCompleteFile.Text = "Encrypt complete connection file";
this.chkEncryptCompleteFile.UseVisualStyleBackColor = true;
chkEncryptCompleteFile._mice = MrngCheckBox.MouseState.OUT;
chkEncryptCompleteFile.AutoSize = true;
chkEncryptCompleteFile.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkEncryptCompleteFile.Location = new System.Drawing.Point(12, 10);
chkEncryptCompleteFile.Margin = new System.Windows.Forms.Padding(6);
chkEncryptCompleteFile.Name = "chkEncryptCompleteFile";
chkEncryptCompleteFile.Size = new System.Drawing.Size(286, 27);
chkEncryptCompleteFile.TabIndex = 0;
chkEncryptCompleteFile.Text = "Encrypt complete connection file";
chkEncryptCompleteFile.UseVisualStyleBackColor = true;
//
// comboBoxEncryptionEngine
//
this.comboBoxEncryptionEngine._mice = MrngComboBox.MouseState.HOVER;
this.comboBoxEncryptionEngine.Dock = System.Windows.Forms.DockStyle.Fill;
this.comboBoxEncryptionEngine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxEncryptionEngine.FormattingEnabled = true;
this.comboBoxEncryptionEngine.Location = new System.Drawing.Point(190, 3);
this.comboBoxEncryptionEngine.Name = "comboBoxEncryptionEngine";
this.comboBoxEncryptionEngine.Size = new System.Drawing.Size(131, 21);
this.comboBoxEncryptionEngine.Sorted = true;
this.comboBoxEncryptionEngine.TabIndex = 1;
comboBoxEncryptionEngine._mice = MrngComboBox.MouseState.HOVER;
comboBoxEncryptionEngine.Dock = System.Windows.Forms.DockStyle.Fill;
comboBoxEncryptionEngine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
comboBoxEncryptionEngine.FormattingEnabled = true;
comboBoxEncryptionEngine.Location = new System.Drawing.Point(280, 4);
comboBoxEncryptionEngine.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
comboBoxEncryptionEngine.Name = "comboBoxEncryptionEngine";
comboBoxEncryptionEngine.Size = new System.Drawing.Size(196, 31);
comboBoxEncryptionEngine.Sorted = true;
comboBoxEncryptionEngine.TabIndex = 1;
//
// labelEncryptionEngine
//
this.labelEncryptionEngine.AutoSize = true;
this.labelEncryptionEngine.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelEncryptionEngine.Location = new System.Drawing.Point(3, 0);
this.labelEncryptionEngine.Name = "labelEncryptionEngine";
this.labelEncryptionEngine.Size = new System.Drawing.Size(181, 27);
this.labelEncryptionEngine.TabIndex = 0;
this.labelEncryptionEngine.Text = "Encryption Engine";
this.labelEncryptionEngine.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
labelEncryptionEngine.AutoSize = true;
labelEncryptionEngine.Dock = System.Windows.Forms.DockStyle.Fill;
labelEncryptionEngine.Location = new System.Drawing.Point(4, 0);
labelEncryptionEngine.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
labelEncryptionEngine.Name = "labelEncryptionEngine";
labelEncryptionEngine.Size = new System.Drawing.Size(268, 39);
labelEncryptionEngine.TabIndex = 0;
labelEncryptionEngine.Text = "Encryption Engine";
labelEncryptionEngine.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// labelBlockCipher
//
this.labelBlockCipher.AutoSize = true;
this.labelBlockCipher.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelBlockCipher.Location = new System.Drawing.Point(3, 27);
this.labelBlockCipher.Name = "labelBlockCipher";
this.labelBlockCipher.Size = new System.Drawing.Size(181, 27);
this.labelBlockCipher.TabIndex = 2;
this.labelBlockCipher.Text = "Block Cipher Mode";
this.labelBlockCipher.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
labelBlockCipher.AutoSize = true;
labelBlockCipher.Dock = System.Windows.Forms.DockStyle.Fill;
labelBlockCipher.Location = new System.Drawing.Point(4, 39);
labelBlockCipher.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
labelBlockCipher.Name = "labelBlockCipher";
labelBlockCipher.Size = new System.Drawing.Size(268, 39);
labelBlockCipher.TabIndex = 2;
labelBlockCipher.Text = "Block Cipher Mode";
labelBlockCipher.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// comboBoxBlockCipher
//
this.comboBoxBlockCipher._mice = MrngComboBox.MouseState.HOVER;
this.comboBoxBlockCipher.Dock = System.Windows.Forms.DockStyle.Fill;
this.comboBoxBlockCipher.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxBlockCipher.FormattingEnabled = true;
this.comboBoxBlockCipher.Location = new System.Drawing.Point(190, 30);
this.comboBoxBlockCipher.Name = "comboBoxBlockCipher";
this.comboBoxBlockCipher.Size = new System.Drawing.Size(131, 21);
this.comboBoxBlockCipher.TabIndex = 2;
comboBoxBlockCipher._mice = MrngComboBox.MouseState.HOVER;
comboBoxBlockCipher.Dock = System.Windows.Forms.DockStyle.Fill;
comboBoxBlockCipher.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
comboBoxBlockCipher.FormattingEnabled = true;
comboBoxBlockCipher.Location = new System.Drawing.Point(280, 43);
comboBoxBlockCipher.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
comboBoxBlockCipher.Name = "comboBoxBlockCipher";
comboBoxBlockCipher.Size = new System.Drawing.Size(196, 31);
comboBoxBlockCipher.TabIndex = 2;
//
// groupAdvancedSecurityOptions
//
this.groupAdvancedSecurityOptions.Controls.Add(this.tableLayoutPanel1);
this.groupAdvancedSecurityOptions.Location = new System.Drawing.Point(3, 30);
this.groupAdvancedSecurityOptions.Name = "groupAdvancedSecurityOptions";
this.groupAdvancedSecurityOptions.Size = new System.Drawing.Size(604, 134);
this.groupAdvancedSecurityOptions.TabIndex = 1;
this.groupAdvancedSecurityOptions.TabStop = false;
this.groupAdvancedSecurityOptions.Text = "Advanced Security Options";
groupAdvancedSecurityOptions.Controls.Add(tableLayoutPanel1);
groupAdvancedSecurityOptions.Location = new System.Drawing.Point(12, 51);
groupAdvancedSecurityOptions.Margin = new System.Windows.Forms.Padding(6);
groupAdvancedSecurityOptions.Name = "groupAdvancedSecurityOptions";
groupAdvancedSecurityOptions.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
groupAdvancedSecurityOptions.Size = new System.Drawing.Size(906, 201);
groupAdvancedSecurityOptions.TabIndex = 1;
groupAdvancedSecurityOptions.TabStop = false;
groupAdvancedSecurityOptions.Text = "Advanced Security Options";
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.AutoSize = true;
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.Controls.Add(this.labelKdfIterations, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.numberBoxKdfIterations, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.labelBlockCipher, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.comboBoxEncryptionEngine, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.labelEncryptionEngine, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.comboBoxBlockCipher, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.btnTestSettings, 1, 3);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Left;
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 18);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.Size = new System.Drawing.Size(324, 113);
this.tableLayoutPanel1.TabIndex = 2;
//
// btnTestSettings
//
this.btnTestSettings._mice = MrngButton.MouseState.OUT;
this.btnTestSettings.AutoSize = true;
this.btnTestSettings.Dock = System.Windows.Forms.DockStyle.Right;
this.btnTestSettings.Location = new System.Drawing.Point(240, 85);
this.btnTestSettings.Name = "btnTestSettings";
this.btnTestSettings.Size = new System.Drawing.Size(81, 25);
this.btnTestSettings.TabIndex = 4;
this.btnTestSettings.Text = "Test Settings";
this.btnTestSettings.UseVisualStyleBackColor = true;
this.btnTestSettings.Click += new System.EventHandler(this.BtnTestSettings_Click);
tableLayoutPanel1.AutoSize = true;
tableLayoutPanel1.ColumnCount = 2;
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
tableLayoutPanel1.Controls.Add(labelKdfIterations, 0, 2);
tableLayoutPanel1.Controls.Add(numberBoxKdfIterations, 1, 2);
tableLayoutPanel1.Controls.Add(labelBlockCipher, 0, 1);
tableLayoutPanel1.Controls.Add(comboBoxEncryptionEngine, 1, 0);
tableLayoutPanel1.Controls.Add(labelEncryptionEngine, 0, 0);
tableLayoutPanel1.Controls.Add(comboBoxBlockCipher, 1, 1);
tableLayoutPanel1.Controls.Add(btnTestSettings, 1, 3);
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Left;
tableLayoutPanel1.Location = new System.Drawing.Point(4, 26);
tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 4;
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.Size = new System.Drawing.Size(480, 171);
tableLayoutPanel1.TabIndex = 2;
//
// labelKdfIterations
//
this.labelKdfIterations.AutoSize = true;
this.labelKdfIterations.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelKdfIterations.Location = new System.Drawing.Point(3, 54);
this.labelKdfIterations.Name = "labelKdfIterations";
this.labelKdfIterations.Size = new System.Drawing.Size(181, 28);
this.labelKdfIterations.TabIndex = 4;
this.labelKdfIterations.Text = "Key Derivation Function Iterations";
this.labelKdfIterations.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
labelKdfIterations.AutoSize = true;
labelKdfIterations.Dock = System.Windows.Forms.DockStyle.Fill;
labelKdfIterations.Location = new System.Drawing.Point(4, 78);
labelKdfIterations.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
labelKdfIterations.Name = "labelKdfIterations";
labelKdfIterations.Size = new System.Drawing.Size(268, 37);
labelKdfIterations.TabIndex = 4;
labelKdfIterations.Text = "Key Derivation Function Iterations";
labelKdfIterations.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// numberBoxKdfIterations
//
this.numberBoxKdfIterations.Dock = System.Windows.Forms.DockStyle.Fill;
this.numberBoxKdfIterations.Increment = new decimal(new int[] {
1000,
0,
0,
0});
this.numberBoxKdfIterations.Location = new System.Drawing.Point(190, 57);
this.numberBoxKdfIterations.Maximum = new decimal(new int[] {
50000,
0,
0,
0});
this.numberBoxKdfIterations.Minimum = new decimal(new int[] {
1000,
0,
0,
0});
this.numberBoxKdfIterations.Name = "numberBoxKdfIterations";
this.numberBoxKdfIterations.Size = new System.Drawing.Size(131, 22);
this.numberBoxKdfIterations.TabIndex = 3;
this.numberBoxKdfIterations.ThousandsSeparator = true;
this.numberBoxKdfIterations.Value = new decimal(new int[] {
1000,
0,
0,
0});
numberBoxKdfIterations.Dock = System.Windows.Forms.DockStyle.Fill;
numberBoxKdfIterations.Increment = new decimal(new int[] { 1000, 0, 0, 0 });
numberBoxKdfIterations.Location = new System.Drawing.Point(280, 82);
numberBoxKdfIterations.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
numberBoxKdfIterations.Maximum = new decimal(new int[] { 50000, 0, 0, 0 });
numberBoxKdfIterations.Minimum = new decimal(new int[] { 1000, 0, 0, 0 });
numberBoxKdfIterations.Name = "numberBoxKdfIterations";
numberBoxKdfIterations.Size = new System.Drawing.Size(196, 29);
numberBoxKdfIterations.TabIndex = 3;
numberBoxKdfIterations.ThousandsSeparator = true;
numberBoxKdfIterations.Value = new decimal(new int[] { 1000, 0, 0, 0 });
//
// btnTestSettings
//
btnTestSettings._mice = MrngButton.MouseState.OUT;
btnTestSettings.AutoSize = true;
btnTestSettings.Dock = System.Windows.Forms.DockStyle.Right;
btnTestSettings.Location = new System.Drawing.Point(294, 119);
btnTestSettings.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
btnTestSettings.Name = "btnTestSettings";
btnTestSettings.Size = new System.Drawing.Size(182, 52);
btnTestSettings.TabIndex = 4;
btnTestSettings.Text = "Test Settings";
btnTestSettings.UseVisualStyleBackColor = true;
btnTestSettings.Click += BtnTestSettings_Click;
//
// SecurityPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.chkEncryptCompleteFile);
this.Controls.Add(this.groupAdvancedSecurityOptions);
this.Name = "SecurityPage";
this.Size = new System.Drawing.Size(610, 490);
this.groupAdvancedSecurityOptions.ResumeLayout(false);
this.groupAdvancedSecurityOptions.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numberBoxKdfIterations)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(chkEncryptCompleteFile);
Controls.Add(groupAdvancedSecurityOptions);
Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
Name = "SecurityPage";
Size = new System.Drawing.Size(915, 735);
groupAdvancedSecurityOptions.ResumeLayout(false);
groupAdvancedSecurityOptions.PerformLayout();
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)numberBoxKdfIterations).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion

View File

@@ -80,10 +80,10 @@ namespace mRemoteNG.UI.Forms.OptionsPages
if (!connectionTree.RootNodes.Any())
return;
var engine = (BlockCipherEngines) comboBoxEncryptionEngine.SelectedItem;
var mode = (BlockCipherModes) comboBoxBlockCipher.SelectedItem;
var engine = (BlockCipherEngines)comboBoxEncryptionEngine.SelectedItem;
var mode = (BlockCipherModes)comboBoxBlockCipher.SelectedItem;
var cryptographyProvider = new CryptoProviderFactory(engine, mode).Build();
cryptographyProvider.KeyDerivationIterations = (int) numberBoxKdfIterations.Value;
cryptographyProvider.KeyDerivationIterations = (int)numberBoxKdfIterations.Value;
var serializerFactory = new XmlConnectionSerializerFactory();
var serializer = serializerFactory.Build(cryptographyProvider, connectionTree, useFullEncryption: chkEncryptCompleteFile.Checked);

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -4,324 +4,288 @@ using mRemoteNG.UI.Controls;
namespace mRemoteNG.UI.Forms.OptionsPages
{
public sealed partial class SqlServerPage : OptionsPage
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
this.lblSQLDatabaseName = new mRemoteNG.UI.Controls.MrngLabel();
this.txtSQLDatabaseName = new mRemoteNG.UI.Controls.MrngTextBox();
this.lblExperimental = new mRemoteNG.UI.Controls.MrngLabel();
this.chkUseSQLServer = new MrngCheckBox();
this.lblSQLUsername = new mRemoteNG.UI.Controls.MrngLabel();
this.txtSQLPassword = new mRemoteNG.UI.Controls.MrngTextBox();
this.lblSQLInfo = new mRemoteNG.UI.Controls.MrngLabel();
this.lblSQLServer = new mRemoteNG.UI.Controls.MrngLabel();
this.txtSQLUsername = new mRemoteNG.UI.Controls.MrngTextBox();
this.txtSQLServer = new mRemoteNG.UI.Controls.MrngTextBox();
this.lblSQLPassword = new mRemoteNG.UI.Controls.MrngLabel();
this.btnTestConnection = new MrngButton();
this.imgConnectionStatus = new System.Windows.Forms.PictureBox();
this.lblTestConnectionResults = new mRemoteNG.UI.Controls.MrngLabel();
this.chkSQLReadOnly = new MrngCheckBox();
this.lblSQLReadOnly = new mRemoteNG.UI.Controls.MrngLabel();
this.lblSQLType = new mRemoteNG.UI.Controls.MrngLabel();
this.txtSQLType = new MrngComboBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
((System.ComponentModel.ISupportInitialize)(this.imgConnectionStatus)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
{
lblSQLDatabaseName = new MrngLabel();
txtSQLDatabaseName = new MrngTextBox();
chkUseSQLServer = new MrngCheckBox();
lblSQLUsername = new MrngLabel();
txtSQLPassword = new MrngTextBox();
lblSQLServer = new MrngLabel();
txtSQLUsername = new MrngTextBox();
txtSQLServer = new MrngTextBox();
lblSQLPassword = new MrngLabel();
btnTestConnection = new MrngButton();
imgConnectionStatus = new System.Windows.Forms.PictureBox();
lblTestConnectionResults = new MrngLabel();
chkSQLReadOnly = new MrngCheckBox();
lblSQLReadOnly = new MrngLabel();
lblSQLType = new MrngLabel();
txtSQLType = new MrngComboBox();
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
((System.ComponentModel.ISupportInitialize)imgConnectionStatus).BeginInit();
tableLayoutPanel1.SuspendLayout();
SuspendLayout();
//
// lblSQLDatabaseName
//
this.lblSQLDatabaseName.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblSQLDatabaseName.Enabled = false;
this.lblSQLDatabaseName.Location = new System.Drawing.Point(3, 52);
this.lblSQLDatabaseName.Name = "lblSQLDatabaseName";
this.lblSQLDatabaseName.Size = new System.Drawing.Size(154, 26);
this.lblSQLDatabaseName.TabIndex = 5;
this.lblSQLDatabaseName.Text = "Database:";
this.lblSQLDatabaseName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblSQLDatabaseName.Dock = System.Windows.Forms.DockStyle.Fill;
lblSQLDatabaseName.Enabled = false;
lblSQLDatabaseName.Location = new System.Drawing.Point(3, 52);
lblSQLDatabaseName.Name = "lblSQLDatabaseName";
lblSQLDatabaseName.Size = new System.Drawing.Size(154, 26);
lblSQLDatabaseName.TabIndex = 5;
lblSQLDatabaseName.Text = "Database:";
lblSQLDatabaseName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtSQLDatabaseName
//
this.txtSQLDatabaseName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtSQLDatabaseName.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtSQLDatabaseName.Enabled = false;
this.txtSQLDatabaseName.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtSQLDatabaseName.Location = new System.Drawing.Point(163, 55);
this.txtSQLDatabaseName.Name = "txtSQLDatabaseName";
this.txtSQLDatabaseName.Size = new System.Drawing.Size(235, 22);
this.txtSQLDatabaseName.TabIndex = 6;
//
// lblExperimental
//
this.lblExperimental.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblExperimental.Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.lblExperimental.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.lblExperimental.Location = new System.Drawing.Point(3, 0);
this.lblExperimental.Name = "lblExperimental";
this.lblExperimental.Size = new System.Drawing.Size(596, 26);
this.lblExperimental.TabIndex = 0;
this.lblExperimental.Text = "EXPERIMENTAL";
this.lblExperimental.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
txtSQLDatabaseName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtSQLDatabaseName.Dock = System.Windows.Forms.DockStyle.Fill;
txtSQLDatabaseName.Enabled = false;
txtSQLDatabaseName.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtSQLDatabaseName.Location = new System.Drawing.Point(163, 55);
txtSQLDatabaseName.Name = "txtSQLDatabaseName";
txtSQLDatabaseName.Size = new System.Drawing.Size(235, 22);
txtSQLDatabaseName.TabIndex = 6;
//
// chkUseSQLServer
//
this.chkUseSQLServer._mice = MrngCheckBox.MouseState.OUT;
this.chkUseSQLServer.AutoSize = true;
this.chkUseSQLServer.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkUseSQLServer.Location = new System.Drawing.Point(3, 76);
this.chkUseSQLServer.Name = "chkUseSQLServer";
this.chkUseSQLServer.Size = new System.Drawing.Size(244, 17);
this.chkUseSQLServer.TabIndex = 2;
this.chkUseSQLServer.Text = "Use SQL Server to load && save connections";
this.chkUseSQLServer.UseVisualStyleBackColor = true;
this.chkUseSQLServer.CheckedChanged += new System.EventHandler(this.chkUseSQLServer_CheckedChanged);
chkUseSQLServer._mice = MrngCheckBox.MouseState.OUT;
chkUseSQLServer.AutoSize = true;
chkUseSQLServer.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkUseSQLServer.Location = new System.Drawing.Point(9, 7);
chkUseSQLServer.Name = "chkUseSQLServer";
chkUseSQLServer.Size = new System.Drawing.Size(244, 17);
chkUseSQLServer.TabIndex = 2;
chkUseSQLServer.Text = "Use SQL Server to load && save connections";
chkUseSQLServer.UseVisualStyleBackColor = true;
chkUseSQLServer.CheckedChanged += chkUseSQLServer_CheckedChanged;
//
// lblSQLUsername
//
this.lblSQLUsername.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblSQLUsername.Enabled = false;
this.lblSQLUsername.Location = new System.Drawing.Point(3, 78);
this.lblSQLUsername.Name = "lblSQLUsername";
this.lblSQLUsername.Size = new System.Drawing.Size(154, 26);
this.lblSQLUsername.TabIndex = 7;
this.lblSQLUsername.Text = "Username:";
this.lblSQLUsername.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblSQLUsername.Dock = System.Windows.Forms.DockStyle.Fill;
lblSQLUsername.Enabled = false;
lblSQLUsername.Location = new System.Drawing.Point(3, 78);
lblSQLUsername.Name = "lblSQLUsername";
lblSQLUsername.Size = new System.Drawing.Size(154, 26);
lblSQLUsername.TabIndex = 7;
lblSQLUsername.Text = "Username:";
lblSQLUsername.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtSQLPassword
//
this.txtSQLPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtSQLPassword.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtSQLPassword.Enabled = false;
this.txtSQLPassword.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtSQLPassword.Location = new System.Drawing.Point(163, 107);
this.txtSQLPassword.Name = "txtSQLPassword";
this.txtSQLPassword.Size = new System.Drawing.Size(235, 22);
this.txtSQLPassword.TabIndex = 10;
this.txtSQLPassword.UseSystemPasswordChar = true;
//
// lblSQLInfo
//
this.lblSQLInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblSQLInfo.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World);
this.lblSQLInfo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.lblSQLInfo.Location = new System.Drawing.Point(3, 25);
this.lblSQLInfo.Name = "lblSQLInfo";
this.lblSQLInfo.Size = new System.Drawing.Size(596, 26);
this.lblSQLInfo.TabIndex = 1;
this.lblSQLInfo.Text = "Please see Help - Getting started - SQL Configuration for more Info!";
this.lblSQLInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
txtSQLPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtSQLPassword.Dock = System.Windows.Forms.DockStyle.Fill;
txtSQLPassword.Enabled = false;
txtSQLPassword.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtSQLPassword.Location = new System.Drawing.Point(163, 107);
txtSQLPassword.Name = "txtSQLPassword";
txtSQLPassword.Size = new System.Drawing.Size(235, 22);
txtSQLPassword.TabIndex = 10;
txtSQLPassword.UseSystemPasswordChar = true;
//
// lblSQLServer
//
this.lblSQLServer.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblSQLServer.Enabled = false;
this.lblSQLServer.Location = new System.Drawing.Point(3, 26);
this.lblSQLServer.Name = "lblSQLServer";
this.lblSQLServer.Size = new System.Drawing.Size(154, 26);
this.lblSQLServer.TabIndex = 3;
this.lblSQLServer.Text = "SQL Server:";
this.lblSQLServer.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblSQLServer.Dock = System.Windows.Forms.DockStyle.Fill;
lblSQLServer.Enabled = false;
lblSQLServer.Location = new System.Drawing.Point(3, 26);
lblSQLServer.Name = "lblSQLServer";
lblSQLServer.Size = new System.Drawing.Size(154, 26);
lblSQLServer.TabIndex = 3;
lblSQLServer.Text = "SQL Server:";
lblSQLServer.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtSQLUsername
//
this.txtSQLUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtSQLUsername.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtSQLUsername.Enabled = false;
this.txtSQLUsername.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtSQLUsername.Location = new System.Drawing.Point(163, 81);
this.txtSQLUsername.Name = "txtSQLUsername";
this.txtSQLUsername.Size = new System.Drawing.Size(235, 22);
this.txtSQLUsername.TabIndex = 8;
txtSQLUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtSQLUsername.Dock = System.Windows.Forms.DockStyle.Fill;
txtSQLUsername.Enabled = false;
txtSQLUsername.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtSQLUsername.Location = new System.Drawing.Point(163, 81);
txtSQLUsername.Name = "txtSQLUsername";
txtSQLUsername.Size = new System.Drawing.Size(235, 22);
txtSQLUsername.TabIndex = 8;
//
// txtSQLServer
//
this.txtSQLServer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtSQLServer.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtSQLServer.Enabled = false;
this.txtSQLServer.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtSQLServer.Location = new System.Drawing.Point(163, 29);
this.txtSQLServer.Name = "txtSQLServer";
this.txtSQLServer.Size = new System.Drawing.Size(235, 22);
this.txtSQLServer.TabIndex = 4;
txtSQLServer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtSQLServer.Dock = System.Windows.Forms.DockStyle.Fill;
txtSQLServer.Enabled = false;
txtSQLServer.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtSQLServer.Location = new System.Drawing.Point(163, 29);
txtSQLServer.Name = "txtSQLServer";
txtSQLServer.Size = new System.Drawing.Size(235, 22);
txtSQLServer.TabIndex = 4;
//
// lblSQLPassword
//
this.lblSQLPassword.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblSQLPassword.Enabled = false;
this.lblSQLPassword.Location = new System.Drawing.Point(3, 104);
this.lblSQLPassword.Name = "lblSQLPassword";
this.lblSQLPassword.Size = new System.Drawing.Size(154, 26);
this.lblSQLPassword.TabIndex = 9;
this.lblSQLPassword.Text = "Password:";
this.lblSQLPassword.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblSQLPassword.Dock = System.Windows.Forms.DockStyle.Fill;
lblSQLPassword.Enabled = false;
lblSQLPassword.Location = new System.Drawing.Point(3, 104);
lblSQLPassword.Name = "lblSQLPassword";
lblSQLPassword.Size = new System.Drawing.Size(154, 26);
lblSQLPassword.TabIndex = 9;
lblSQLPassword.Text = "Password:";
lblSQLPassword.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// btnTestConnection
//
this.btnTestConnection._mice = MrngButton.MouseState.OUT;
this.btnTestConnection.Enabled = false;
this.btnTestConnection.Location = new System.Drawing.Point(3, 267);
this.btnTestConnection.Name = "btnTestConnection";
this.btnTestConnection.Size = new System.Drawing.Size(153, 25);
this.btnTestConnection.TabIndex = 11;
this.btnTestConnection.Text = "Test Connection";
this.btnTestConnection.UseVisualStyleBackColor = true;
this.btnTestConnection.Click += new System.EventHandler(this.btnTestConnection_Click);
btnTestConnection._mice = MrngButton.MouseState.OUT;
btnTestConnection.Enabled = false;
btnTestConnection.Location = new System.Drawing.Point(9, 198);
btnTestConnection.Name = "btnTestConnection";
btnTestConnection.Size = new System.Drawing.Size(153, 25);
btnTestConnection.TabIndex = 11;
btnTestConnection.Text = "Test Connection";
btnTestConnection.UseVisualStyleBackColor = true;
btnTestConnection.Click += btnTestConnection_Click;
//
// imgConnectionStatus
//
this.imgConnectionStatus.Image = global::mRemoteNG.Properties.Resources.F1Help_16x;
this.imgConnectionStatus.Location = new System.Drawing.Point(162, 272);
this.imgConnectionStatus.Name = "imgConnectionStatus";
this.imgConnectionStatus.Size = new System.Drawing.Size(16, 16);
this.imgConnectionStatus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.imgConnectionStatus.TabIndex = 12;
this.imgConnectionStatus.TabStop = false;
imgConnectionStatus.Image = Properties.Resources.F1Help_16x;
imgConnectionStatus.Location = new System.Drawing.Point(169, 203);
imgConnectionStatus.Name = "imgConnectionStatus";
imgConnectionStatus.Size = new System.Drawing.Size(16, 16);
imgConnectionStatus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
imgConnectionStatus.TabIndex = 12;
imgConnectionStatus.TabStop = false;
//
// lblTestConnectionResults
//
this.lblTestConnectionResults.AutoSize = true;
this.lblTestConnectionResults.Location = new System.Drawing.Point(3, 295);
this.lblTestConnectionResults.Name = "lblTestConnectionResults";
this.lblTestConnectionResults.Size = new System.Drawing.Size(125, 13);
this.lblTestConnectionResults.TabIndex = 13;
this.lblTestConnectionResults.Text = "Test connection details";
lblTestConnectionResults.AutoSize = true;
lblTestConnectionResults.Location = new System.Drawing.Point(9, 226);
lblTestConnectionResults.Name = "lblTestConnectionResults";
lblTestConnectionResults.Size = new System.Drawing.Size(125, 13);
lblTestConnectionResults.TabIndex = 13;
lblTestConnectionResults.Text = "Test connection details";
//
// chkSQLReadOnly
//
this.chkSQLReadOnly._mice = MrngCheckBox.MouseState.OUT;
this.chkSQLReadOnly.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.chkSQLReadOnly.AutoSize = true;
this.chkSQLReadOnly.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkSQLReadOnly.Location = new System.Drawing.Point(163, 133);
this.chkSQLReadOnly.Name = "chkSQLReadOnly";
this.chkSQLReadOnly.Size = new System.Drawing.Size(15, 20);
this.chkSQLReadOnly.TabIndex = 14;
this.chkSQLReadOnly.UseVisualStyleBackColor = true;
chkSQLReadOnly._mice = MrngCheckBox.MouseState.OUT;
chkSQLReadOnly.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
chkSQLReadOnly.AutoSize = true;
chkSQLReadOnly.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkSQLReadOnly.Location = new System.Drawing.Point(163, 133);
chkSQLReadOnly.Name = "chkSQLReadOnly";
chkSQLReadOnly.Size = new System.Drawing.Size(15, 20);
chkSQLReadOnly.TabIndex = 14;
chkSQLReadOnly.UseVisualStyleBackColor = true;
//
// lblSQLReadOnly
//
this.lblSQLReadOnly.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblSQLReadOnly.Enabled = false;
this.lblSQLReadOnly.Location = new System.Drawing.Point(3, 130);
this.lblSQLReadOnly.Name = "lblSQLReadOnly";
this.lblSQLReadOnly.Size = new System.Drawing.Size(154, 26);
this.lblSQLReadOnly.TabIndex = 15;
this.lblSQLReadOnly.Text = "Read Only:";
this.lblSQLReadOnly.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblSQLReadOnly.Dock = System.Windows.Forms.DockStyle.Fill;
lblSQLReadOnly.Enabled = false;
lblSQLReadOnly.Location = new System.Drawing.Point(3, 130);
lblSQLReadOnly.Name = "lblSQLReadOnly";
lblSQLReadOnly.Size = new System.Drawing.Size(154, 26);
lblSQLReadOnly.TabIndex = 15;
lblSQLReadOnly.Text = "Read Only:";
lblSQLReadOnly.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblSQLType
//
this.lblSQLType.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblSQLType.Enabled = false;
this.lblSQLType.Location = new System.Drawing.Point(3, 0);
this.lblSQLType.Name = "lblSQLType";
this.lblSQLType.Size = new System.Drawing.Size(154, 26);
this.lblSQLType.TabIndex = 20;
this.lblSQLType.Text = "SQL Server Type:";
this.lblSQLType.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblSQLType.Dock = System.Windows.Forms.DockStyle.Fill;
lblSQLType.Enabled = false;
lblSQLType.Location = new System.Drawing.Point(3, 0);
lblSQLType.Name = "lblSQLType";
lblSQLType.Size = new System.Drawing.Size(154, 26);
lblSQLType.TabIndex = 20;
lblSQLType.Text = "SQL Server Type:";
lblSQLType.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtSQLType
//
this.txtSQLType._mice = MrngComboBox.MouseState.HOVER;
this.txtSQLType.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtSQLType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.txtSQLType.FormattingEnabled = true;
this.txtSQLType.Items.AddRange(new object[] {
"mssql",
"mysql"});
this.txtSQLType.Location = new System.Drawing.Point(163, 3);
this.txtSQLType.Name = "txtSQLType";
this.txtSQLType.Size = new System.Drawing.Size(235, 21);
this.txtSQLType.TabIndex = 21;
txtSQLType._mice = MrngComboBox.MouseState.HOVER;
txtSQLType.Dock = System.Windows.Forms.DockStyle.Fill;
txtSQLType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
txtSQLType.FormattingEnabled = true;
txtSQLType.Items.AddRange(new object[] { "mssql", "mysql" });
txtSQLType.Location = new System.Drawing.Point(163, 3);
txtSQLType.Name = "txtSQLType";
txtSQLType.Size = new System.Drawing.Size(235, 21);
txtSQLType.TabIndex = 21;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 160F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Controls.Add(this.lblSQLType, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.txtSQLType, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.lblSQLServer, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.chkSQLReadOnly, 1, 5);
this.tableLayoutPanel1.Controls.Add(this.lblSQLReadOnly, 0, 5);
this.tableLayoutPanel1.Controls.Add(this.lblSQLDatabaseName, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.txtSQLDatabaseName, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.lblSQLUsername, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.lblSQLPassword, 0, 4);
this.tableLayoutPanel1.Controls.Add(this.txtSQLServer, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.txtSQLPassword, 1, 4);
this.tableLayoutPanel1.Controls.Add(this.txtSQLUsername, 1, 3);
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 99);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 7;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.Size = new System.Drawing.Size(401, 162);
this.tableLayoutPanel1.TabIndex = 22;
tableLayoutPanel1.ColumnCount = 2;
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 160F));
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.Controls.Add(lblSQLType, 0, 0);
tableLayoutPanel1.Controls.Add(txtSQLType, 1, 0);
tableLayoutPanel1.Controls.Add(lblSQLServer, 0, 1);
tableLayoutPanel1.Controls.Add(chkSQLReadOnly, 1, 5);
tableLayoutPanel1.Controls.Add(lblSQLReadOnly, 0, 5);
tableLayoutPanel1.Controls.Add(lblSQLDatabaseName, 0, 2);
tableLayoutPanel1.Controls.Add(txtSQLDatabaseName, 1, 2);
tableLayoutPanel1.Controls.Add(lblSQLUsername, 0, 3);
tableLayoutPanel1.Controls.Add(lblSQLPassword, 0, 4);
tableLayoutPanel1.Controls.Add(txtSQLServer, 1, 1);
tableLayoutPanel1.Controls.Add(txtSQLPassword, 1, 4);
tableLayoutPanel1.Controls.Add(txtSQLUsername, 1, 3);
tableLayoutPanel1.Location = new System.Drawing.Point(9, 30);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 7;
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.Size = new System.Drawing.Size(401, 162);
tableLayoutPanel1.TabIndex = 22;
//
// SqlServerPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.lblTestConnectionResults);
this.Controls.Add(this.imgConnectionStatus);
this.Controls.Add(this.btnTestConnection);
this.Controls.Add(this.lblExperimental);
this.Controls.Add(this.chkUseSQLServer);
this.Controls.Add(this.lblSQLInfo);
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "SqlServerPage";
this.Size = new System.Drawing.Size(610, 490);
((System.ComponentModel.ISupportInitialize)(this.imgConnectionStatus)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(tableLayoutPanel1);
Controls.Add(lblTestConnectionResults);
Controls.Add(imgConnectionStatus);
Controls.Add(btnTestConnection);
Controls.Add(chkUseSQLServer);
Margin = new System.Windows.Forms.Padding(4);
Name = "SqlServerPage";
Size = new System.Drawing.Size(610, 490);
((System.ComponentModel.ISupportInitialize)imgConnectionStatus).EndInit();
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout();
ResumeLayout(false);
PerformLayout();
}
}
internal Controls.MrngLabel lblSQLDatabaseName;
internal Controls.MrngTextBox txtSQLDatabaseName;
internal Controls.MrngLabel lblExperimental;
internal MrngCheckBox chkUseSQLServer;
internal Controls.MrngLabel lblSQLUsername;
internal Controls.MrngTextBox txtSQLPassword;
internal Controls.MrngLabel lblSQLInfo;
internal Controls.MrngLabel lblSQLServer;
internal Controls.MrngTextBox txtSQLUsername;
internal Controls.MrngTextBox txtSQLServer;
internal Controls.MrngLabel lblSQLPassword;
internal Controls.MrngLabel lblSQLDatabaseName;
internal Controls.MrngTextBox txtSQLDatabaseName;
internal MrngCheckBox chkUseSQLServer;
internal Controls.MrngLabel lblSQLUsername;
internal Controls.MrngTextBox txtSQLPassword;
internal Controls.MrngLabel lblSQLServer;
internal Controls.MrngTextBox txtSQLUsername;
internal Controls.MrngTextBox txtSQLServer;
internal Controls.MrngLabel lblSQLPassword;
private MrngButton btnTestConnection;
private System.Windows.Forms.PictureBox imgConnectionStatus;
private Controls.MrngLabel lblTestConnectionResults;
private MrngCheckBox chkSQLReadOnly;
internal Controls.MrngLabel lblSQLReadOnly;
internal Controls.MrngLabel lblSQLType;
private MrngComboBox txtSQLType;
internal Controls.MrngLabel lblSQLType;
private MrngComboBox txtSQLType;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
}
}

View File

@@ -32,8 +32,8 @@ namespace mRemoteNG.UI.Forms.OptionsPages
{
base.ApplyLanguage();
lblExperimental.Text = Language.Experimental.ToUpper();
lblSQLInfo.Text = Language.SQLInfo;
//lblExperimental.Text = Language.Experimental.ToUpper();
//lblSQLInfo.Text = Language.SQLInfo;
chkUseSQLServer.Text = Language.UseSQLServer;
lblSQLServer.Text = Language.Hostname;

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -4,123 +4,124 @@ using mRemoteNG.UI.Controls;
namespace mRemoteNG.UI.Forms.OptionsPages
{
public sealed partial class StartupExitPage : OptionsPage
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
this.chkReconnectOnStart = new mRemoteNG.UI.Controls.MrngCheckBox();
this.chkSaveConsOnExit = new mRemoteNG.UI.Controls.MrngCheckBox();
this.chkSingleInstance = new mRemoteNG.UI.Controls.MrngCheckBox();
this.chkStartMinimized = new mRemoteNG.UI.Controls.MrngCheckBox();
this.chkStartFullScreen = new mRemoteNG.UI.Controls.MrngCheckBox();
this.SuspendLayout();
{
chkReconnectOnStart = new MrngCheckBox();
chkSaveConsOnExit = new MrngCheckBox();
chkSingleInstance = new MrngCheckBox();
chkStartMinimized = new MrngCheckBox();
chkStartFullScreen = new MrngCheckBox();
SuspendLayout();
//
// chkReconnectOnStart
//
this.chkReconnectOnStart._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkReconnectOnStart.AutoSize = true;
this.chkReconnectOnStart.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkReconnectOnStart.Location = new System.Drawing.Point(3, 26);
this.chkReconnectOnStart.Name = "chkReconnectOnStart";
this.chkReconnectOnStart.Size = new System.Drawing.Size(295, 17);
this.chkReconnectOnStart.TabIndex = 1;
this.chkReconnectOnStart.Text = "Reconnect to previously opened sessions on startup";
this.chkReconnectOnStart.UseVisualStyleBackColor = true;
chkReconnectOnStart._mice = MrngCheckBox.MouseState.OUT;
chkReconnectOnStart.AutoSize = true;
chkReconnectOnStart.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkReconnectOnStart.Location = new System.Drawing.Point(8, 31);
chkReconnectOnStart.Name = "chkReconnectOnStart";
chkReconnectOnStart.Size = new System.Drawing.Size(295, 17);
chkReconnectOnStart.TabIndex = 1;
chkReconnectOnStart.Text = "Reconnect to previously opened sessions on startup";
chkReconnectOnStart.UseVisualStyleBackColor = true;
//
// chkSaveConsOnExit
//
this.chkSaveConsOnExit._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkSaveConsOnExit.AutoSize = true;
this.chkSaveConsOnExit.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkSaveConsOnExit.Location = new System.Drawing.Point(3, 2);
this.chkSaveConsOnExit.Name = "chkSaveConsOnExit";
this.chkSaveConsOnExit.Size = new System.Drawing.Size(153, 17);
this.chkSaveConsOnExit.TabIndex = 0;
this.chkSaveConsOnExit.Text = "Save connections on exit";
this.chkSaveConsOnExit.UseVisualStyleBackColor = true;
chkSaveConsOnExit._mice = MrngCheckBox.MouseState.OUT;
chkSaveConsOnExit.AutoSize = true;
chkSaveConsOnExit.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkSaveConsOnExit.Location = new System.Drawing.Point(8, 7);
chkSaveConsOnExit.Name = "chkSaveConsOnExit";
chkSaveConsOnExit.Size = new System.Drawing.Size(153, 17);
chkSaveConsOnExit.TabIndex = 0;
chkSaveConsOnExit.Text = "Save connections on exit";
chkSaveConsOnExit.UseVisualStyleBackColor = true;
//
// chkSingleInstance
//
this.chkSingleInstance._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkSingleInstance.AutoSize = true;
this.chkSingleInstance.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkSingleInstance.Location = new System.Drawing.Point(3, 50);
this.chkSingleInstance.Name = "chkSingleInstance";
this.chkSingleInstance.Size = new System.Drawing.Size(404, 17);
this.chkSingleInstance.TabIndex = 2;
this.chkSingleInstance.Text = "Allow only a single instance of the application (mRemote restart required)";
this.chkSingleInstance.UseVisualStyleBackColor = true;
chkSingleInstance._mice = MrngCheckBox.MouseState.OUT;
chkSingleInstance.AutoSize = true;
chkSingleInstance.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkSingleInstance.Location = new System.Drawing.Point(8, 55);
chkSingleInstance.Name = "chkSingleInstance";
chkSingleInstance.Size = new System.Drawing.Size(404, 17);
chkSingleInstance.TabIndex = 2;
chkSingleInstance.Text = "Allow only a single instance of the application (mRemote restart required)";
chkSingleInstance.UseVisualStyleBackColor = true;
//
// chkStartMinimized
//
this.chkStartMinimized._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkStartMinimized.AutoSize = true;
this.chkStartMinimized.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkStartMinimized.Location = new System.Drawing.Point(3, 73);
this.chkStartMinimized.Name = "chkStartMinimized";
this.chkStartMinimized.Size = new System.Drawing.Size(105, 17);
this.chkStartMinimized.TabIndex = 3;
this.chkStartMinimized.Text = "Start minimized";
this.chkStartMinimized.UseVisualStyleBackColor = true;
this.chkStartMinimized.CheckedChanged += new System.EventHandler(this.chkStartMinimized_CheckedChanged);
chkStartMinimized._mice = MrngCheckBox.MouseState.OUT;
chkStartMinimized.AutoSize = true;
chkStartMinimized.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkStartMinimized.Location = new System.Drawing.Point(8, 78);
chkStartMinimized.Name = "chkStartMinimized";
chkStartMinimized.Size = new System.Drawing.Size(105, 17);
chkStartMinimized.TabIndex = 3;
chkStartMinimized.Text = "Start minimized";
chkStartMinimized.UseVisualStyleBackColor = true;
chkStartMinimized.CheckedChanged += chkStartMinimized_CheckedChanged;
//
// chkStartFullScreen
//
this.chkStartFullScreen._mice = mRemoteNG.UI.Controls.MrngCheckBox.MouseState.OUT;
this.chkStartFullScreen.AutoSize = true;
this.chkStartFullScreen.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkStartFullScreen.Location = new System.Drawing.Point(3, 96);
this.chkStartFullScreen.Name = "chkStartFullScreen";
this.chkStartFullScreen.Size = new System.Drawing.Size(109, 17);
this.chkStartFullScreen.TabIndex = 4;
this.chkStartFullScreen.Text = "Start Full Screen";
this.chkStartFullScreen.UseVisualStyleBackColor = true;
this.chkStartFullScreen.CheckedChanged += new System.EventHandler(this.chkStartFullScreen_CheckedChanged);
chkStartFullScreen._mice = MrngCheckBox.MouseState.OUT;
chkStartFullScreen.AutoSize = true;
chkStartFullScreen.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkStartFullScreen.Location = new System.Drawing.Point(8, 101);
chkStartFullScreen.Name = "chkStartFullScreen";
chkStartFullScreen.Size = new System.Drawing.Size(109, 17);
chkStartFullScreen.TabIndex = 4;
chkStartFullScreen.Text = "Start Full Screen";
chkStartFullScreen.UseVisualStyleBackColor = true;
chkStartFullScreen.CheckedChanged += chkStartFullScreen_CheckedChanged;
//
// StartupExitPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.chkStartFullScreen);
this.Controls.Add(this.chkReconnectOnStart);
this.Controls.Add(this.chkSaveConsOnExit);
this.Controls.Add(this.chkSingleInstance);
this.Controls.Add(this.chkStartMinimized);
this.Name = "StartupExitPage";
this.Size = new System.Drawing.Size(610, 490);
this.Load += new System.EventHandler(this.StartupExitPage_Load);
this.ResumeLayout(false);
this.PerformLayout();
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(chkStartFullScreen);
Controls.Add(chkReconnectOnStart);
Controls.Add(chkSaveConsOnExit);
Controls.Add(chkSingleInstance);
Controls.Add(chkStartMinimized);
Name = "StartupExitPage";
Size = new System.Drawing.Size(610, 490);
Load += StartupExitPage_Load;
ResumeLayout(false);
PerformLayout();
}
}
internal MrngCheckBox chkReconnectOnStart;
internal MrngCheckBox chkSaveConsOnExit;
internal MrngCheckBox chkSingleInstance;
internal MrngCheckBox chkReconnectOnStart;
internal MrngCheckBox chkSaveConsOnExit;
internal MrngCheckBox chkSingleInstance;
internal MrngCheckBox chkStartMinimized;
internal MrngCheckBox chkStartFullScreen;
}

View File

@@ -55,7 +55,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages
if (chkStartFullScreen.Checked && chkStartMinimized.Checked)
{
chkStartMinimized.Checked = false;
}
}
}
private void chkStartMinimized_CheckedChanged(object sender, EventArgs e)

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -3,204 +3,205 @@ using mRemoteNG.Resources.Language;
namespace mRemoteNG.UI.Forms.OptionsPages
{
public sealed partial class TabsPanelsPage : OptionsPage
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
this.chkAlwaysShowPanelTabs = new MrngCheckBox();
this.chkAlwaysShowConnectionTabs = new MrngCheckBox();
this.chkIdentifyQuickConnectTabs = new MrngCheckBox();
this.chkOpenNewTabRightOfSelected = new MrngCheckBox();
this.chkAlwaysShowPanelSelectionDlg = new MrngCheckBox();
this.chkShowLogonInfoOnTabs = new MrngCheckBox();
this.chkDoubleClickClosesTab = new MrngCheckBox();
this.chkShowProtocolOnTabs = new MrngCheckBox();
this.chkCreateEmptyPanelOnStart = new MrngCheckBox();
this.txtBoxPanelName = new mRemoteNG.UI.Controls.MrngTextBox();
this.lblPanelName = new mRemoteNG.UI.Controls.MrngLabel();
this.SuspendLayout();
{
chkAlwaysShowPanelTabs = new MrngCheckBox();
chkAlwaysShowConnectionTabs = new MrngCheckBox();
chkIdentifyQuickConnectTabs = new MrngCheckBox();
chkOpenNewTabRightOfSelected = new MrngCheckBox();
chkAlwaysShowPanelSelectionDlg = new MrngCheckBox();
chkShowLogonInfoOnTabs = new MrngCheckBox();
chkDoubleClickClosesTab = new MrngCheckBox();
chkShowProtocolOnTabs = new MrngCheckBox();
chkCreateEmptyPanelOnStart = new MrngCheckBox();
txtBoxPanelName = new MrngTextBox();
lblPanelName = new MrngLabel();
SuspendLayout();
//
// chkAlwaysShowPanelTabs
//
this.chkAlwaysShowPanelTabs._mice = MrngCheckBox.MouseState.OUT;
this.chkAlwaysShowPanelTabs.AutoSize = true;
this.chkAlwaysShowPanelTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkAlwaysShowPanelTabs.Location = new System.Drawing.Point(3, 3);
this.chkAlwaysShowPanelTabs.Name = "chkAlwaysShowPanelTabs";
this.chkAlwaysShowPanelTabs.Size = new System.Drawing.Size(149, 17);
this.chkAlwaysShowPanelTabs.TabIndex = 0;
this.chkAlwaysShowPanelTabs.Text = "Always show panel tabs";
this.chkAlwaysShowPanelTabs.UseVisualStyleBackColor = true;
chkAlwaysShowPanelTabs._mice = MrngCheckBox.MouseState.OUT;
chkAlwaysShowPanelTabs.AutoSize = true;
chkAlwaysShowPanelTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkAlwaysShowPanelTabs.Location = new System.Drawing.Point(9, 8);
chkAlwaysShowPanelTabs.Name = "chkAlwaysShowPanelTabs";
chkAlwaysShowPanelTabs.Size = new System.Drawing.Size(149, 17);
chkAlwaysShowPanelTabs.TabIndex = 0;
chkAlwaysShowPanelTabs.Text = "Always show panel tabs";
chkAlwaysShowPanelTabs.UseVisualStyleBackColor = true;
//
// chkAlwaysShowConnectionTabs
//
this.chkAlwaysShowConnectionTabs._mice = MrngCheckBox.MouseState.OUT;
this.chkAlwaysShowConnectionTabs.AutoSize = true;
this.chkAlwaysShowConnectionTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkAlwaysShowConnectionTabs.Location = new System.Drawing.Point(3, 26);
this.chkAlwaysShowConnectionTabs.Name = "chkAlwaysShowConnectionTabs";
this.chkAlwaysShowConnectionTabs.Size = new System.Drawing.Size(178, 17);
this.chkAlwaysShowConnectionTabs.TabIndex = 0;
this.chkAlwaysShowConnectionTabs.Text = "Always show connection tabs";
this.chkAlwaysShowConnectionTabs.UseVisualStyleBackColor = true;
this.chkAlwaysShowConnectionTabs.Visible = false;
chkAlwaysShowConnectionTabs._mice = MrngCheckBox.MouseState.OUT;
chkAlwaysShowConnectionTabs.AutoSize = true;
chkAlwaysShowConnectionTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkAlwaysShowConnectionTabs.Location = new System.Drawing.Point(9, 31);
chkAlwaysShowConnectionTabs.Name = "chkAlwaysShowConnectionTabs";
chkAlwaysShowConnectionTabs.Size = new System.Drawing.Size(178, 17);
chkAlwaysShowConnectionTabs.TabIndex = 0;
chkAlwaysShowConnectionTabs.Text = "Always show connection tabs";
chkAlwaysShowConnectionTabs.UseVisualStyleBackColor = true;
chkAlwaysShowConnectionTabs.Visible = false;
//
// chkIdentifyQuickConnectTabs
//
this.chkIdentifyQuickConnectTabs._mice = MrngCheckBox.MouseState.OUT;
this.chkIdentifyQuickConnectTabs.AutoSize = true;
this.chkIdentifyQuickConnectTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkIdentifyQuickConnectTabs.Location = new System.Drawing.Point(3, 118);
this.chkIdentifyQuickConnectTabs.Name = "chkIdentifyQuickConnectTabs";
this.chkIdentifyQuickConnectTabs.Size = new System.Drawing.Size(315, 17);
this.chkIdentifyQuickConnectTabs.TabIndex = 4;
this.chkIdentifyQuickConnectTabs.Text = Language.IdentifyQuickConnectTabs;
this.chkIdentifyQuickConnectTabs.UseVisualStyleBackColor = true;
chkIdentifyQuickConnectTabs._mice = MrngCheckBox.MouseState.OUT;
chkIdentifyQuickConnectTabs.AutoSize = true;
chkIdentifyQuickConnectTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkIdentifyQuickConnectTabs.Location = new System.Drawing.Point(9, 123);
chkIdentifyQuickConnectTabs.Name = "chkIdentifyQuickConnectTabs";
chkIdentifyQuickConnectTabs.Size = new System.Drawing.Size(315, 17);
chkIdentifyQuickConnectTabs.TabIndex = 4;
chkIdentifyQuickConnectTabs.Text = Language.IdentifyQuickConnectTabs;
chkIdentifyQuickConnectTabs.UseVisualStyleBackColor = true;
//
// chkOpenNewTabRightOfSelected
//
this.chkOpenNewTabRightOfSelected._mice = MrngCheckBox.MouseState.OUT;
this.chkOpenNewTabRightOfSelected.AutoSize = true;
this.chkOpenNewTabRightOfSelected.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkOpenNewTabRightOfSelected.Location = new System.Drawing.Point(3, 49);
this.chkOpenNewTabRightOfSelected.Name = "chkOpenNewTabRightOfSelected";
this.chkOpenNewTabRightOfSelected.Size = new System.Drawing.Size(309, 17);
this.chkOpenNewTabRightOfSelected.TabIndex = 1;
this.chkOpenNewTabRightOfSelected.Text = "Open new tab to the right of the currently selected tab";
this.chkOpenNewTabRightOfSelected.UseVisualStyleBackColor = true;
chkOpenNewTabRightOfSelected._mice = MrngCheckBox.MouseState.OUT;
chkOpenNewTabRightOfSelected.AutoSize = true;
chkOpenNewTabRightOfSelected.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkOpenNewTabRightOfSelected.Location = new System.Drawing.Point(9, 54);
chkOpenNewTabRightOfSelected.Name = "chkOpenNewTabRightOfSelected";
chkOpenNewTabRightOfSelected.Size = new System.Drawing.Size(309, 17);
chkOpenNewTabRightOfSelected.TabIndex = 1;
chkOpenNewTabRightOfSelected.Text = "Open new tab to the right of the currently selected tab";
chkOpenNewTabRightOfSelected.UseVisualStyleBackColor = true;
//
// chkAlwaysShowPanelSelectionDlg
//
this.chkAlwaysShowPanelSelectionDlg._mice = MrngCheckBox.MouseState.OUT;
this.chkAlwaysShowPanelSelectionDlg.AutoSize = true;
this.chkAlwaysShowPanelSelectionDlg.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkAlwaysShowPanelSelectionDlg.Location = new System.Drawing.Point(3, 164);
this.chkAlwaysShowPanelSelectionDlg.Name = "chkAlwaysShowPanelSelectionDlg";
this.chkAlwaysShowPanelSelectionDlg.Size = new System.Drawing.Size(347, 17);
this.chkAlwaysShowPanelSelectionDlg.TabIndex = 6;
this.chkAlwaysShowPanelSelectionDlg.Text = "Always show panel selection dialog when opening connectins";
this.chkAlwaysShowPanelSelectionDlg.UseVisualStyleBackColor = true;
chkAlwaysShowPanelSelectionDlg._mice = MrngCheckBox.MouseState.OUT;
chkAlwaysShowPanelSelectionDlg.AutoSize = true;
chkAlwaysShowPanelSelectionDlg.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkAlwaysShowPanelSelectionDlg.Location = new System.Drawing.Point(9, 169);
chkAlwaysShowPanelSelectionDlg.Name = "chkAlwaysShowPanelSelectionDlg";
chkAlwaysShowPanelSelectionDlg.Size = new System.Drawing.Size(347, 17);
chkAlwaysShowPanelSelectionDlg.TabIndex = 6;
chkAlwaysShowPanelSelectionDlg.Text = "Always show panel selection dialog when opening connectins";
chkAlwaysShowPanelSelectionDlg.UseVisualStyleBackColor = true;
//
// chkShowLogonInfoOnTabs
//
this.chkShowLogonInfoOnTabs._mice = MrngCheckBox.MouseState.OUT;
this.chkShowLogonInfoOnTabs.AutoSize = true;
this.chkShowLogonInfoOnTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkShowLogonInfoOnTabs.Location = new System.Drawing.Point(3, 72);
this.chkShowLogonInfoOnTabs.Name = "chkShowLogonInfoOnTabs";
this.chkShowLogonInfoOnTabs.Size = new System.Drawing.Size(226, 17);
this.chkShowLogonInfoOnTabs.TabIndex = 2;
this.chkShowLogonInfoOnTabs.Text = "Show logon information on tab names";
this.chkShowLogonInfoOnTabs.UseVisualStyleBackColor = true;
chkShowLogonInfoOnTabs._mice = MrngCheckBox.MouseState.OUT;
chkShowLogonInfoOnTabs.AutoSize = true;
chkShowLogonInfoOnTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkShowLogonInfoOnTabs.Location = new System.Drawing.Point(9, 77);
chkShowLogonInfoOnTabs.Name = "chkShowLogonInfoOnTabs";
chkShowLogonInfoOnTabs.Size = new System.Drawing.Size(226, 17);
chkShowLogonInfoOnTabs.TabIndex = 2;
chkShowLogonInfoOnTabs.Text = "Show logon information on tab names";
chkShowLogonInfoOnTabs.UseVisualStyleBackColor = true;
//
// chkDoubleClickClosesTab
//
this.chkDoubleClickClosesTab._mice = MrngCheckBox.MouseState.OUT;
this.chkDoubleClickClosesTab.AutoSize = true;
this.chkDoubleClickClosesTab.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkDoubleClickClosesTab.Location = new System.Drawing.Point(3, 141);
this.chkDoubleClickClosesTab.Name = "chkDoubleClickClosesTab";
this.chkDoubleClickClosesTab.Size = new System.Drawing.Size(170, 17);
this.chkDoubleClickClosesTab.TabIndex = 5;
this.chkDoubleClickClosesTab.Text = "Double click on tab closes it";
this.chkDoubleClickClosesTab.UseVisualStyleBackColor = true;
chkDoubleClickClosesTab._mice = MrngCheckBox.MouseState.OUT;
chkDoubleClickClosesTab.AutoSize = true;
chkDoubleClickClosesTab.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkDoubleClickClosesTab.Location = new System.Drawing.Point(9, 146);
chkDoubleClickClosesTab.Name = "chkDoubleClickClosesTab";
chkDoubleClickClosesTab.Size = new System.Drawing.Size(170, 17);
chkDoubleClickClosesTab.TabIndex = 5;
chkDoubleClickClosesTab.Text = "Double click on tab closes it";
chkDoubleClickClosesTab.UseVisualStyleBackColor = true;
//
// chkShowProtocolOnTabs
//
this.chkShowProtocolOnTabs._mice = MrngCheckBox.MouseState.OUT;
this.chkShowProtocolOnTabs.AutoSize = true;
this.chkShowProtocolOnTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkShowProtocolOnTabs.Location = new System.Drawing.Point(3, 95);
this.chkShowProtocolOnTabs.Name = "chkShowProtocolOnTabs";
this.chkShowProtocolOnTabs.Size = new System.Drawing.Size(180, 17);
this.chkShowProtocolOnTabs.TabIndex = 3;
this.chkShowProtocolOnTabs.Text = "Show protocols on tab names";
this.chkShowProtocolOnTabs.UseVisualStyleBackColor = true;
chkShowProtocolOnTabs._mice = MrngCheckBox.MouseState.OUT;
chkShowProtocolOnTabs.AutoSize = true;
chkShowProtocolOnTabs.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkShowProtocolOnTabs.Location = new System.Drawing.Point(9, 100);
chkShowProtocolOnTabs.Name = "chkShowProtocolOnTabs";
chkShowProtocolOnTabs.Size = new System.Drawing.Size(180, 17);
chkShowProtocolOnTabs.TabIndex = 3;
chkShowProtocolOnTabs.Text = "Show protocols on tab names";
chkShowProtocolOnTabs.UseVisualStyleBackColor = true;
//
// chkCreateEmptyPanelOnStart
//
this.chkCreateEmptyPanelOnStart._mice = MrngCheckBox.MouseState.OUT;
this.chkCreateEmptyPanelOnStart.AutoSize = true;
this.chkCreateEmptyPanelOnStart.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkCreateEmptyPanelOnStart.Location = new System.Drawing.Point(3, 187);
this.chkCreateEmptyPanelOnStart.Name = "chkCreateEmptyPanelOnStart";
this.chkCreateEmptyPanelOnStart.Size = new System.Drawing.Size(271, 17);
this.chkCreateEmptyPanelOnStart.TabIndex = 7;
this.chkCreateEmptyPanelOnStart.Text = "Create an empty panel when mRemoteNG starts";
this.chkCreateEmptyPanelOnStart.UseVisualStyleBackColor = true;
this.chkCreateEmptyPanelOnStart.CheckedChanged += new System.EventHandler(this.chkCreateEmptyPanelOnStart_CheckedChanged);
chkCreateEmptyPanelOnStart._mice = MrngCheckBox.MouseState.OUT;
chkCreateEmptyPanelOnStart.AutoSize = true;
chkCreateEmptyPanelOnStart.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkCreateEmptyPanelOnStart.Location = new System.Drawing.Point(9, 192);
chkCreateEmptyPanelOnStart.Name = "chkCreateEmptyPanelOnStart";
chkCreateEmptyPanelOnStart.Size = new System.Drawing.Size(271, 17);
chkCreateEmptyPanelOnStart.TabIndex = 7;
chkCreateEmptyPanelOnStart.Text = "Create an empty panel when mRemoteNG starts";
chkCreateEmptyPanelOnStart.UseVisualStyleBackColor = true;
chkCreateEmptyPanelOnStart.CheckedChanged += chkCreateEmptyPanelOnStart_CheckedChanged;
//
// txtBoxPanelName
//
this.txtBoxPanelName.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtBoxPanelName.Location = new System.Drawing.Point(35, 223);
this.txtBoxPanelName.Name = "txtBoxPanelName";
this.txtBoxPanelName.Size = new System.Drawing.Size(213, 22);
this.txtBoxPanelName.TabIndex = 8;
txtBoxPanelName.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtBoxPanelName.Location = new System.Drawing.Point(41, 228);
txtBoxPanelName.Name = "txtBoxPanelName";
txtBoxPanelName.Size = new System.Drawing.Size(213, 22);
txtBoxPanelName.TabIndex = 8;
//
// lblPanelName
//
this.lblPanelName.AutoSize = true;
this.lblPanelName.Location = new System.Drawing.Point(32, 207);
this.lblPanelName.Name = "lblPanelName";
this.lblPanelName.Size = new System.Drawing.Size(69, 13);
this.lblPanelName.TabIndex = 9;
this.lblPanelName.Text = "Panel name:";
lblPanelName.AutoSize = true;
lblPanelName.Location = new System.Drawing.Point(38, 212);
lblPanelName.Name = "lblPanelName";
lblPanelName.Size = new System.Drawing.Size(69, 13);
lblPanelName.TabIndex = 9;
lblPanelName.Text = "Panel name:";
//
// TabsPanelsPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.lblPanelName);
this.Controls.Add(this.txtBoxPanelName);
this.Controls.Add(this.chkCreateEmptyPanelOnStart);
this.Controls.Add(this.chkAlwaysShowPanelTabs);
this.Controls.Add(this.chkAlwaysShowConnectionTabs);
this.Controls.Add(this.chkIdentifyQuickConnectTabs);
this.Controls.Add(this.chkOpenNewTabRightOfSelected);
this.Controls.Add(this.chkAlwaysShowPanelSelectionDlg);
this.Controls.Add(this.chkShowLogonInfoOnTabs);
this.Controls.Add(this.chkDoubleClickClosesTab);
this.Controls.Add(this.chkShowProtocolOnTabs);
this.Name = "TabsPanelsPage";
this.Size = new System.Drawing.Size(610, 490);
this.ResumeLayout(false);
this.PerformLayout();
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(lblPanelName);
Controls.Add(txtBoxPanelName);
Controls.Add(chkCreateEmptyPanelOnStart);
Controls.Add(chkAlwaysShowPanelTabs);
Controls.Add(chkAlwaysShowConnectionTabs);
Controls.Add(chkIdentifyQuickConnectTabs);
Controls.Add(chkOpenNewTabRightOfSelected);
Controls.Add(chkAlwaysShowPanelSelectionDlg);
Controls.Add(chkShowLogonInfoOnTabs);
Controls.Add(chkDoubleClickClosesTab);
Controls.Add(chkShowProtocolOnTabs);
Name = "TabsPanelsPage";
Size = new System.Drawing.Size(610, 490);
ResumeLayout(false);
PerformLayout();
}
}
internal MrngCheckBox chkAlwaysShowPanelTabs;
internal MrngCheckBox chkAlwaysShowConnectionTabs;
internal MrngCheckBox chkIdentifyQuickConnectTabs;
internal MrngCheckBox chkOpenNewTabRightOfSelected;
internal MrngCheckBox chkAlwaysShowPanelSelectionDlg;
internal MrngCheckBox chkShowLogonInfoOnTabs;
internal MrngCheckBox chkDoubleClickClosesTab;
internal MrngCheckBox chkShowProtocolOnTabs;
internal MrngCheckBox chkAlwaysShowPanelTabs;
internal MrngCheckBox chkAlwaysShowConnectionTabs;
internal MrngCheckBox chkIdentifyQuickConnectTabs;
internal MrngCheckBox chkOpenNewTabRightOfSelected;
internal MrngCheckBox chkAlwaysShowPanelSelectionDlg;
internal MrngCheckBox chkShowLogonInfoOnTabs;
internal MrngCheckBox chkDoubleClickClosesTab;
internal MrngCheckBox chkShowProtocolOnTabs;
private MrngCheckBox chkCreateEmptyPanelOnStart;
private Controls.MrngTextBox txtBoxPanelName;
private Controls.MrngLabel lblPanelName;

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -4,209 +4,206 @@ using mRemoteNG.UI.Controls;
namespace mRemoteNG.UI.Forms.OptionsPages
{
public sealed partial class ThemePage : OptionsPage
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent()
{
this.btnThemeDelete = new MrngButton();
this.btnThemeNew = new MrngButton();
this.cboTheme = new MrngComboBox();
this.listPalette = new mRemoteNG.UI.Controls.MrngListView();
this.keyCol = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
this.ColorCol = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
this.ColorNameCol = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
this.labelRestart = new mRemoteNG.UI.Controls.MrngLabel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.tlpMain = new System.Windows.Forms.TableLayoutPanel();
((System.ComponentModel.ISupportInitialize)(this.listPalette)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.tlpMain.SuspendLayout();
this.SuspendLayout();
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
btnThemeDelete = new MrngButton();
btnThemeNew = new MrngButton();
cboTheme = new MrngComboBox();
listPalette = new MrngListView();
keyCol = new BrightIdeasSoftware.OLVColumn();
ColorCol = new BrightIdeasSoftware.OLVColumn();
ColorNameCol = new BrightIdeasSoftware.OLVColumn();
labelRestart = new MrngLabel();
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
tlpMain = new System.Windows.Forms.TableLayoutPanel();
((System.ComponentModel.ISupportInitialize)listPalette).BeginInit();
tableLayoutPanel1.SuspendLayout();
tableLayoutPanel2.SuspendLayout();
tlpMain.SuspendLayout();
SuspendLayout();
//
// btnThemeDelete
//
this.btnThemeDelete._mice = MrngButton.MouseState.OUT;
this.btnThemeDelete.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnThemeDelete.Location = new System.Drawing.Point(507, 3);
this.btnThemeDelete.Name = "btnThemeDelete";
this.btnThemeDelete.Size = new System.Drawing.Size(94, 23);
this.btnThemeDelete.TabIndex = 2;
this.btnThemeDelete.Text = "&Delete";
this.btnThemeDelete.UseVisualStyleBackColor = true;
this.btnThemeDelete.Click += new System.EventHandler(this.btnThemeDelete_Click);
btnThemeDelete._mice = MrngButton.MouseState.OUT;
btnThemeDelete.Dock = System.Windows.Forms.DockStyle.Fill;
btnThemeDelete.Location = new System.Drawing.Point(507, 3);
btnThemeDelete.Name = "btnThemeDelete";
btnThemeDelete.Size = new System.Drawing.Size(94, 23);
btnThemeDelete.TabIndex = 2;
btnThemeDelete.Text = "&Delete";
btnThemeDelete.UseVisualStyleBackColor = true;
btnThemeDelete.Click += btnThemeDelete_Click;
//
// btnThemeNew
//
this.btnThemeNew._mice = MrngButton.MouseState.OUT;
this.btnThemeNew.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnThemeNew.Location = new System.Drawing.Point(407, 3);
this.btnThemeNew.Name = "btnThemeNew";
this.btnThemeNew.Size = new System.Drawing.Size(94, 23);
this.btnThemeNew.TabIndex = 1;
this.btnThemeNew.Text = "&New";
this.btnThemeNew.UseVisualStyleBackColor = true;
this.btnThemeNew.Click += new System.EventHandler(this.btnThemeNew_Click);
btnThemeNew._mice = MrngButton.MouseState.OUT;
btnThemeNew.Dock = System.Windows.Forms.DockStyle.Fill;
btnThemeNew.Location = new System.Drawing.Point(407, 3);
btnThemeNew.Name = "btnThemeNew";
btnThemeNew.Size = new System.Drawing.Size(94, 23);
btnThemeNew.TabIndex = 1;
btnThemeNew.Text = "&New";
btnThemeNew.UseVisualStyleBackColor = true;
btnThemeNew.Click += btnThemeNew_Click;
//
// cboTheme
//
this.cboTheme._mice = MrngComboBox.MouseState.HOVER;
this.cboTheme.Dock = System.Windows.Forms.DockStyle.Fill;
this.cboTheme.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboTheme.FormattingEnabled = true;
this.cboTheme.Location = new System.Drawing.Point(3, 3);
this.cboTheme.Name = "cboTheme";
this.cboTheme.Size = new System.Drawing.Size(398, 21);
this.cboTheme.TabIndex = 0;
this.cboTheme.SelectionChangeCommitted += new System.EventHandler(this.cboTheme_SelectionChangeCommitted);
cboTheme._mice = MrngComboBox.MouseState.HOVER;
cboTheme.Dock = System.Windows.Forms.DockStyle.Fill;
cboTheme.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
cboTheme.FormattingEnabled = true;
cboTheme.Location = new System.Drawing.Point(3, 3);
cboTheme.Name = "cboTheme";
cboTheme.Size = new System.Drawing.Size(398, 21);
cboTheme.TabIndex = 0;
cboTheme.SelectionChangeCommitted += cboTheme_SelectionChangeCommitted;
//
// listPalette
//
this.listPalette.AllColumns.Add(this.keyCol);
this.listPalette.AllColumns.Add(this.ColorCol);
this.listPalette.AllColumns.Add(this.ColorNameCol);
this.listPalette.CellEditUseWholeCell = false;
this.listPalette.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.keyCol,
this.ColorCol,
this.ColorNameCol});
this.listPalette.Cursor = System.Windows.Forms.Cursors.Default;
this.listPalette.DecorateLines = true;
this.listPalette.Dock = System.Windows.Forms.DockStyle.Fill;
this.listPalette.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.listPalette.HideSelection = false;
this.listPalette.Location = new System.Drawing.Point(3, 37);
this.listPalette.Name = "listPalette";
this.listPalette.ShowGroups = false;
this.listPalette.Size = new System.Drawing.Size(604, 416);
this.listPalette.TabIndex = 3;
this.listPalette.UseCellFormatEvents = true;
this.listPalette.UseCompatibleStateImageBehavior = false;
this.listPalette.View = System.Windows.Forms.View.Details;
listPalette.AllColumns.Add(keyCol);
listPalette.AllColumns.Add(ColorCol);
listPalette.AllColumns.Add(ColorNameCol);
listPalette.CellEditUseWholeCell = false;
listPalette.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { keyCol, ColorCol, ColorNameCol });
listPalette.DecorateLines = true;
listPalette.Dock = System.Windows.Forms.DockStyle.Fill;
listPalette.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
listPalette.Location = new System.Drawing.Point(3, 37);
listPalette.Name = "listPalette";
listPalette.ShowGroups = false;
listPalette.Size = new System.Drawing.Size(604, 416);
listPalette.TabIndex = 3;
listPalette.UseCellFormatEvents = true;
listPalette.UseCompatibleStateImageBehavior = false;
listPalette.View = System.Windows.Forms.View.Details;
//
// keyCol
//
this.keyCol.AspectName = "Key";
this.keyCol.IsEditable = false;
this.keyCol.Text = "Element";
this.keyCol.Width = 262;
keyCol.AspectName = "Key";
keyCol.IsEditable = false;
keyCol.Text = "Element";
keyCol.Width = 262;
//
// ColorCol
//
this.ColorCol.Sortable = false;
this.ColorCol.Text = "Color";
this.ColorCol.Width = 45;
ColorCol.Sortable = false;
ColorCol.Text = "Color";
ColorCol.Width = 45;
//
// ColorNameCol
//
this.ColorNameCol.AspectName = "Value";
this.ColorNameCol.Sortable = false;
this.ColorNameCol.Text = "Color Name";
this.ColorNameCol.Width = 265;
ColorNameCol.AspectName = "Value";
ColorNameCol.Sortable = false;
ColorNameCol.Text = "Color Name";
ColorNameCol.Width = 265;
//
// labelRestart
//
this.labelRestart.AutoSize = true;
this.labelRestart.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelRestart.Location = new System.Drawing.Point(3, 0);
this.labelRestart.Name = "labelRestart";
this.labelRestart.Size = new System.Drawing.Size(598, 28);
this.labelRestart.TabIndex = 4;
this.labelRestart.Text = "Warning: Restart is required...";
this.labelRestart.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
labelRestart.AutoSize = true;
labelRestart.Dock = System.Windows.Forms.DockStyle.Fill;
labelRestart.Location = new System.Drawing.Point(3, 0);
labelRestart.Name = "labelRestart";
labelRestart.Size = new System.Drawing.Size(598, 28);
labelRestart.TabIndex = 4;
labelRestart.Text = "Warning: Restart is required...";
labelRestart.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 3;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
this.tableLayoutPanel1.Controls.Add(this.cboTheme, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.btnThemeNew, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.btnThemeDelete, 2, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 3);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.Size = new System.Drawing.Size(604, 28);
this.tableLayoutPanel1.TabIndex = 6;
tableLayoutPanel1.ColumnCount = 3;
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
tableLayoutPanel1.Controls.Add(cboTheme, 0, 0);
tableLayoutPanel1.Controls.Add(btnThemeNew, 1, 0);
tableLayoutPanel1.Controls.Add(btnThemeDelete, 2, 0);
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
tableLayoutPanel1.Location = new System.Drawing.Point(3, 3);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 1;
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.Size = new System.Drawing.Size(604, 28);
tableLayoutPanel1.TabIndex = 6;
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 1;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel2.Controls.Add(this.labelRestart, 0, 0);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 459);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(604, 28);
this.tableLayoutPanel2.TabIndex = 7;
tableLayoutPanel2.ColumnCount = 1;
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
tableLayoutPanel2.Controls.Add(labelRestart, 0, 0);
tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
tableLayoutPanel2.Location = new System.Drawing.Point(3, 459);
tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel2.Size = new System.Drawing.Size(604, 28);
tableLayoutPanel2.TabIndex = 7;
//
// tlpMain
//
this.tlpMain.ColumnCount = 1;
this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tlpMain.Controls.Add(this.tableLayoutPanel2, 0, 2);
this.tlpMain.Controls.Add(this.tableLayoutPanel1, 0, 0);
this.tlpMain.Controls.Add(this.listPalette, 0, 1);
this.tlpMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.tlpMain.Location = new System.Drawing.Point(0, 0);
this.tlpMain.Name = "tlpMain";
this.tlpMain.RowCount = 3;
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 34F));
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 34F));
this.tlpMain.Size = new System.Drawing.Size(610, 490);
this.tlpMain.TabIndex = 8;
tlpMain.ColumnCount = 1;
tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tlpMain.Controls.Add(tableLayoutPanel2, 0, 2);
tlpMain.Controls.Add(tableLayoutPanel1, 0, 0);
tlpMain.Controls.Add(listPalette, 0, 1);
tlpMain.Dock = System.Windows.Forms.DockStyle.Fill;
tlpMain.Location = new System.Drawing.Point(0, 0);
tlpMain.Name = "tlpMain";
tlpMain.RowCount = 3;
tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 34F));
tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 34F));
tlpMain.Size = new System.Drawing.Size(610, 490);
tlpMain.TabIndex = 8;
//
// ThemePage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.Controls.Add(this.tlpMain);
this.Name = "ThemePage";
this.Size = new System.Drawing.Size(610, 490);
((System.ComponentModel.ISupportInitialize)(this.listPalette)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel2.PerformLayout();
this.tlpMain.ResumeLayout(false);
this.ResumeLayout(false);
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
Controls.Add(tlpMain);
Name = "ThemePage";
Size = new System.Drawing.Size(610, 490);
((System.ComponentModel.ISupportInitialize)listPalette).EndInit();
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel2.ResumeLayout(false);
tableLayoutPanel2.PerformLayout();
tlpMain.ResumeLayout(false);
ResumeLayout(false);
}
}
internal MrngButton btnThemeDelete;
internal MrngButton btnThemeNew;
internal MrngComboBox cboTheme;
internal MrngButton btnThemeDelete;
internal MrngButton btnThemeNew;
internal MrngComboBox cboTheme;
private Controls.MrngListView listPalette;
private Controls.MrngLabel labelRestart;
private BrightIdeasSoftware.OLVColumn keyCol;

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -3,377 +3,363 @@ using mRemoteNG.UI.Controls;
namespace mRemoteNG.UI.Forms.OptionsPages
{
public sealed partial class UpdatesPage : OptionsPage
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent()
{
this.lblUpdatesExplanation = new mRemoteNG.UI.Controls.MrngLabel();
this.pnlUpdateCheck = new System.Windows.Forms.Panel();
this.btnUpdateCheckNow = new MrngButton();
this.chkCheckForUpdatesOnStartup = new MrngCheckBox();
this.cboUpdateCheckFrequency = new MrngComboBox();
this.lblReleaseChannelExplanation = new mRemoteNG.UI.Controls.MrngTextBox();
this.cboReleaseChannel = new MrngComboBox();
this.pnlProxy = new System.Windows.Forms.Panel();
this.tblProxyBasic = new System.Windows.Forms.TableLayoutPanel();
this.numProxyPort = new mRemoteNG.UI.Controls.MrngNumericUpDown();
this.lblProxyAddress = new mRemoteNG.UI.Controls.MrngLabel();
this.txtProxyAddress = new mRemoteNG.UI.Controls.MrngTextBox();
this.lblProxyPort = new mRemoteNG.UI.Controls.MrngLabel();
this.tblProxyAuthentication = new System.Windows.Forms.TableLayoutPanel();
this.lblProxyPassword = new mRemoteNG.UI.Controls.MrngLabel();
this.lblProxyUsername = new mRemoteNG.UI.Controls.MrngLabel();
this.txtProxyUsername = new mRemoteNG.UI.Controls.MrngTextBox();
this.txtProxyPassword = new mRemoteNG.UI.Controls.MrngTextBox();
this.chkUseProxyForAutomaticUpdates = new MrngCheckBox();
this.chkUseProxyAuthentication = new MrngCheckBox();
this.btnTestProxy = new MrngButton();
this.groupBoxReleaseChannel = new MrngGroupBox();
this.pnlUpdateCheck.SuspendLayout();
this.pnlProxy.SuspendLayout();
this.tblProxyBasic.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numProxyPort)).BeginInit();
this.tblProxyAuthentication.SuspendLayout();
this.groupBoxReleaseChannel.SuspendLayout();
this.SuspendLayout();
{
//UserControl overrides dispose to clean up the component list.
[System.Diagnostics.DebuggerNonUserCode()]
protected override void Dispose(bool disposing)
{
try
{
if (disposing && components != null)
{
components.Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}
//Required by the Windows Form Designer
private System.ComponentModel.Container components = null;
//NOTE: The following procedure is required by the Windows Form Designer
//It can be modified using the Windows Form Designer.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
lblUpdatesExplanation = new MrngLabel();
pnlUpdateCheck = new System.Windows.Forms.Panel();
btnUpdateCheckNow = new MrngButton();
chkCheckForUpdatesOnStartup = new MrngCheckBox();
cboUpdateCheckFrequency = new MrngComboBox();
lblReleaseChannelExplanation = new MrngTextBox();
cboReleaseChannel = new MrngComboBox();
pnlProxy = new System.Windows.Forms.Panel();
tblProxyBasic = new System.Windows.Forms.TableLayoutPanel();
numProxyPort = new MrngNumericUpDown();
lblProxyAddress = new MrngLabel();
txtProxyAddress = new MrngTextBox();
lblProxyPort = new MrngLabel();
tblProxyAuthentication = new System.Windows.Forms.TableLayoutPanel();
lblProxyPassword = new MrngLabel();
lblProxyUsername = new MrngLabel();
txtProxyUsername = new MrngTextBox();
txtProxyPassword = new MrngTextBox();
chkUseProxyForAutomaticUpdates = new MrngCheckBox();
chkUseProxyAuthentication = new MrngCheckBox();
btnTestProxy = new MrngButton();
groupBoxReleaseChannel = new MrngGroupBox();
pnlUpdateCheck.SuspendLayout();
pnlProxy.SuspendLayout();
tblProxyBasic.SuspendLayout();
((System.ComponentModel.ISupportInitialize)numProxyPort).BeginInit();
tblProxyAuthentication.SuspendLayout();
groupBoxReleaseChannel.SuspendLayout();
SuspendLayout();
//
// lblUpdatesExplanation
//
this.lblUpdatesExplanation.Location = new System.Drawing.Point(3, 3);
this.lblUpdatesExplanation.Name = "lblUpdatesExplanation";
this.lblUpdatesExplanation.Size = new System.Drawing.Size(595, 32);
this.lblUpdatesExplanation.TabIndex = 0;
this.lblUpdatesExplanation.Text = "mRemoteNG can periodically connect to the mRemoteNG website to check for updates." +
"";
lblUpdatesExplanation.Location = new System.Drawing.Point(3, 3);
lblUpdatesExplanation.Name = "lblUpdatesExplanation";
lblUpdatesExplanation.Size = new System.Drawing.Size(595, 32);
lblUpdatesExplanation.TabIndex = 0;
lblUpdatesExplanation.Text = "mRemoteNG can periodically connect to the mRemoteNG website to check for updates.";
//
// pnlUpdateCheck
//
this.pnlUpdateCheck.Controls.Add(this.btnUpdateCheckNow);
this.pnlUpdateCheck.Controls.Add(this.chkCheckForUpdatesOnStartup);
this.pnlUpdateCheck.Controls.Add(this.cboUpdateCheckFrequency);
this.pnlUpdateCheck.Location = new System.Drawing.Point(3, 38);
this.pnlUpdateCheck.Name = "pnlUpdateCheck";
this.pnlUpdateCheck.Size = new System.Drawing.Size(604, 99);
this.pnlUpdateCheck.TabIndex = 1;
pnlUpdateCheck.Controls.Add(btnUpdateCheckNow);
pnlUpdateCheck.Controls.Add(chkCheckForUpdatesOnStartup);
pnlUpdateCheck.Controls.Add(cboUpdateCheckFrequency);
pnlUpdateCheck.Location = new System.Drawing.Point(3, 25);
pnlUpdateCheck.Name = "pnlUpdateCheck";
pnlUpdateCheck.Size = new System.Drawing.Size(604, 99);
pnlUpdateCheck.TabIndex = 1;
//
// btnUpdateCheckNow
//
this.btnUpdateCheckNow._mice = MrngButton.MouseState.OUT;
this.btnUpdateCheckNow.Location = new System.Drawing.Point(5, 63);
this.btnUpdateCheckNow.Name = "btnUpdateCheckNow";
this.btnUpdateCheckNow.Size = new System.Drawing.Size(122, 25);
this.btnUpdateCheckNow.TabIndex = 2;
this.btnUpdateCheckNow.Text = "Check Now";
this.btnUpdateCheckNow.UseVisualStyleBackColor = true;
this.btnUpdateCheckNow.Click += new System.EventHandler(this.btnUpdateCheckNow_Click);
btnUpdateCheckNow._mice = MrngButton.MouseState.OUT;
btnUpdateCheckNow.Location = new System.Drawing.Point(5, 63);
btnUpdateCheckNow.Name = "btnUpdateCheckNow";
btnUpdateCheckNow.Size = new System.Drawing.Size(122, 25);
btnUpdateCheckNow.TabIndex = 2;
btnUpdateCheckNow.Text = "Check Now";
btnUpdateCheckNow.UseVisualStyleBackColor = true;
btnUpdateCheckNow.Click += btnUpdateCheckNow_Click;
//
// chkCheckForUpdatesOnStartup
//
this.chkCheckForUpdatesOnStartup._mice = MrngCheckBox.MouseState.OUT;
this.chkCheckForUpdatesOnStartup.AutoSize = true;
this.chkCheckForUpdatesOnStartup.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkCheckForUpdatesOnStartup.Location = new System.Drawing.Point(6, 11);
this.chkCheckForUpdatesOnStartup.Name = "chkCheckForUpdatesOnStartup";
this.chkCheckForUpdatesOnStartup.Size = new System.Drawing.Size(120, 17);
this.chkCheckForUpdatesOnStartup.TabIndex = 0;
this.chkCheckForUpdatesOnStartup.Text = "Check for updates";
this.chkCheckForUpdatesOnStartup.UseVisualStyleBackColor = true;
this.chkCheckForUpdatesOnStartup.CheckedChanged += new System.EventHandler(this.chkCheckForUpdatesOnStartup_CheckedChanged);
chkCheckForUpdatesOnStartup._mice = MrngCheckBox.MouseState.OUT;
chkCheckForUpdatesOnStartup.AutoSize = true;
chkCheckForUpdatesOnStartup.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkCheckForUpdatesOnStartup.Location = new System.Drawing.Point(6, 11);
chkCheckForUpdatesOnStartup.Name = "chkCheckForUpdatesOnStartup";
chkCheckForUpdatesOnStartup.Size = new System.Drawing.Size(120, 17);
chkCheckForUpdatesOnStartup.TabIndex = 0;
chkCheckForUpdatesOnStartup.Text = "Check for updates";
chkCheckForUpdatesOnStartup.UseVisualStyleBackColor = true;
chkCheckForUpdatesOnStartup.CheckedChanged += chkCheckForUpdatesOnStartup_CheckedChanged;
//
// cboUpdateCheckFrequency
//
this.cboUpdateCheckFrequency._mice = MrngComboBox.MouseState.HOVER;
this.cboUpdateCheckFrequency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboUpdateCheckFrequency.FormattingEnabled = true;
this.cboUpdateCheckFrequency.Location = new System.Drawing.Point(6, 34);
this.cboUpdateCheckFrequency.Name = "cboUpdateCheckFrequency";
this.cboUpdateCheckFrequency.Size = new System.Drawing.Size(120, 21);
this.cboUpdateCheckFrequency.TabIndex = 1;
cboUpdateCheckFrequency._mice = MrngComboBox.MouseState.HOVER;
cboUpdateCheckFrequency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
cboUpdateCheckFrequency.FormattingEnabled = true;
cboUpdateCheckFrequency.Location = new System.Drawing.Point(6, 34);
cboUpdateCheckFrequency.Name = "cboUpdateCheckFrequency";
cboUpdateCheckFrequency.Size = new System.Drawing.Size(120, 21);
cboUpdateCheckFrequency.TabIndex = 1;
//
// lblReleaseChannelExplanation
//
this.lblReleaseChannelExplanation.BackColor = System.Drawing.SystemColors.Control;
this.lblReleaseChannelExplanation.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lblReleaseChannelExplanation.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblReleaseChannelExplanation.Location = new System.Drawing.Point(6, 48);
this.lblReleaseChannelExplanation.Multiline = true;
this.lblReleaseChannelExplanation.Name = "lblReleaseChannelExplanation";
this.lblReleaseChannelExplanation.ReadOnly = true;
this.lblReleaseChannelExplanation.Size = new System.Drawing.Size(595, 44);
this.lblReleaseChannelExplanation.TabIndex = 2;
this.lblReleaseChannelExplanation.Text = "Stable channel includes final releases only.\r\nBeta channel includes Betas & Relea" +
"se Candidates.\r\nDevelopment Channel includes Alphas, Betas & Release Candidates." +
"";
lblReleaseChannelExplanation.BackColor = System.Drawing.SystemColors.Control;
lblReleaseChannelExplanation.BorderStyle = System.Windows.Forms.BorderStyle.None;
lblReleaseChannelExplanation.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
lblReleaseChannelExplanation.Location = new System.Drawing.Point(6, 48);
lblReleaseChannelExplanation.Multiline = true;
lblReleaseChannelExplanation.Name = "lblReleaseChannelExplanation";
lblReleaseChannelExplanation.ReadOnly = true;
lblReleaseChannelExplanation.Size = new System.Drawing.Size(595, 44);
lblReleaseChannelExplanation.TabIndex = 2;
lblReleaseChannelExplanation.Text = "Stable channel includes final releases only.\r\nBeta channel includes Betas & Release Candidates.\r\nDevelopment Channel includes Alphas, Betas & Release Candidates.";
//
// cboReleaseChannel
//
this.cboReleaseChannel._mice = MrngComboBox.MouseState.HOVER;
this.cboReleaseChannel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboReleaseChannel.FormattingEnabled = true;
this.cboReleaseChannel.Location = new System.Drawing.Point(7, 21);
this.cboReleaseChannel.Name = "cboReleaseChannel";
this.cboReleaseChannel.Size = new System.Drawing.Size(120, 21);
this.cboReleaseChannel.TabIndex = 1;
cboReleaseChannel._mice = MrngComboBox.MouseState.HOVER;
cboReleaseChannel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
cboReleaseChannel.FormattingEnabled = true;
cboReleaseChannel.Location = new System.Drawing.Point(7, 21);
cboReleaseChannel.Name = "cboReleaseChannel";
cboReleaseChannel.Size = new System.Drawing.Size(120, 21);
cboReleaseChannel.TabIndex = 1;
//
// pnlProxy
//
this.pnlProxy.Controls.Add(this.tblProxyBasic);
this.pnlProxy.Controls.Add(this.tblProxyAuthentication);
this.pnlProxy.Controls.Add(this.chkUseProxyForAutomaticUpdates);
this.pnlProxy.Controls.Add(this.chkUseProxyAuthentication);
this.pnlProxy.Controls.Add(this.btnTestProxy);
this.pnlProxy.Location = new System.Drawing.Point(3, 253);
this.pnlProxy.Name = "pnlProxy";
this.pnlProxy.Size = new System.Drawing.Size(604, 223);
this.pnlProxy.TabIndex = 3;
pnlProxy.Controls.Add(tblProxyBasic);
pnlProxy.Controls.Add(tblProxyAuthentication);
pnlProxy.Controls.Add(chkUseProxyForAutomaticUpdates);
pnlProxy.Controls.Add(chkUseProxyAuthentication);
pnlProxy.Controls.Add(btnTestProxy);
pnlProxy.Location = new System.Drawing.Point(3, 240);
pnlProxy.Name = "pnlProxy";
pnlProxy.Size = new System.Drawing.Size(604, 223);
pnlProxy.TabIndex = 3;
//
// tblProxyBasic
//
this.tblProxyBasic.ColumnCount = 2;
this.tblProxyBasic.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 160F));
this.tblProxyBasic.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tblProxyBasic.Controls.Add(this.numProxyPort, 1, 1);
this.tblProxyBasic.Controls.Add(this.lblProxyAddress, 0, 0);
this.tblProxyBasic.Controls.Add(this.txtProxyAddress, 1, 0);
this.tblProxyBasic.Controls.Add(this.lblProxyPort, 0, 1);
this.tblProxyBasic.Location = new System.Drawing.Point(6, 28);
this.tblProxyBasic.Name = "tblProxyBasic";
this.tblProxyBasic.RowCount = 3;
this.tblProxyBasic.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tblProxyBasic.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tblProxyBasic.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tblProxyBasic.Size = new System.Drawing.Size(350, 57);
this.tblProxyBasic.TabIndex = 6;
tblProxyBasic.ColumnCount = 2;
tblProxyBasic.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 160F));
tblProxyBasic.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tblProxyBasic.Controls.Add(numProxyPort, 1, 1);
tblProxyBasic.Controls.Add(lblProxyAddress, 0, 0);
tblProxyBasic.Controls.Add(txtProxyAddress, 1, 0);
tblProxyBasic.Controls.Add(lblProxyPort, 0, 1);
tblProxyBasic.Location = new System.Drawing.Point(6, 28);
tblProxyBasic.Name = "tblProxyBasic";
tblProxyBasic.RowCount = 3;
tblProxyBasic.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tblProxyBasic.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tblProxyBasic.RowStyles.Add(new System.Windows.Forms.RowStyle());
tblProxyBasic.Size = new System.Drawing.Size(350, 57);
tblProxyBasic.TabIndex = 6;
//
// numProxyPort
//
this.numProxyPort.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.numProxyPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.numProxyPort.Location = new System.Drawing.Point(163, 29);
this.numProxyPort.Maximum = new decimal(new int[] {
65535,
0,
0,
0});
this.numProxyPort.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.numProxyPort.Name = "numProxyPort";
this.numProxyPort.Size = new System.Drawing.Size(64, 22);
this.numProxyPort.TabIndex = 3;
this.numProxyPort.Value = new decimal(new int[] {
80,
0,
0,
0});
numProxyPort.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
numProxyPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
numProxyPort.Location = new System.Drawing.Point(163, 29);
numProxyPort.Maximum = new decimal(new int[] { 65535, 0, 0, 0 });
numProxyPort.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
numProxyPort.Name = "numProxyPort";
numProxyPort.Size = new System.Drawing.Size(64, 22);
numProxyPort.TabIndex = 3;
numProxyPort.Value = new decimal(new int[] { 80, 0, 0, 0 });
//
// lblProxyAddress
//
this.lblProxyAddress.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblProxyAddress.Location = new System.Drawing.Point(3, 0);
this.lblProxyAddress.Name = "lblProxyAddress";
this.lblProxyAddress.Size = new System.Drawing.Size(154, 26);
this.lblProxyAddress.TabIndex = 0;
this.lblProxyAddress.Text = "Address:";
this.lblProxyAddress.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblProxyAddress.Dock = System.Windows.Forms.DockStyle.Fill;
lblProxyAddress.Location = new System.Drawing.Point(3, 0);
lblProxyAddress.Name = "lblProxyAddress";
lblProxyAddress.Size = new System.Drawing.Size(154, 26);
lblProxyAddress.TabIndex = 0;
lblProxyAddress.Text = "Address:";
lblProxyAddress.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtProxyAddress
//
this.txtProxyAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtProxyAddress.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtProxyAddress.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtProxyAddress.Location = new System.Drawing.Point(163, 3);
this.txtProxyAddress.Name = "txtProxyAddress";
this.txtProxyAddress.Size = new System.Drawing.Size(184, 22);
this.txtProxyAddress.TabIndex = 1;
txtProxyAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtProxyAddress.Dock = System.Windows.Forms.DockStyle.Fill;
txtProxyAddress.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtProxyAddress.Location = new System.Drawing.Point(163, 3);
txtProxyAddress.Name = "txtProxyAddress";
txtProxyAddress.Size = new System.Drawing.Size(184, 22);
txtProxyAddress.TabIndex = 1;
//
// lblProxyPort
//
this.lblProxyPort.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblProxyPort.Location = new System.Drawing.Point(3, 26);
this.lblProxyPort.Name = "lblProxyPort";
this.lblProxyPort.Size = new System.Drawing.Size(154, 26);
this.lblProxyPort.TabIndex = 2;
this.lblProxyPort.Text = "Port:";
this.lblProxyPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblProxyPort.Dock = System.Windows.Forms.DockStyle.Fill;
lblProxyPort.Location = new System.Drawing.Point(3, 26);
lblProxyPort.Name = "lblProxyPort";
lblProxyPort.Size = new System.Drawing.Size(154, 26);
lblProxyPort.TabIndex = 2;
lblProxyPort.Text = "Port:";
lblProxyPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// tblProxyAuthentication
//
this.tblProxyAuthentication.ColumnCount = 2;
this.tblProxyAuthentication.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 160F));
this.tblProxyAuthentication.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tblProxyAuthentication.Controls.Add(this.lblProxyPassword, 0, 1);
this.tblProxyAuthentication.Controls.Add(this.lblProxyUsername, 0, 0);
this.tblProxyAuthentication.Controls.Add(this.txtProxyUsername, 1, 0);
this.tblProxyAuthentication.Controls.Add(this.txtProxyPassword, 1, 1);
this.tblProxyAuthentication.Location = new System.Drawing.Point(6, 124);
this.tblProxyAuthentication.Name = "tblProxyAuthentication";
this.tblProxyAuthentication.RowCount = 3;
this.tblProxyAuthentication.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tblProxyAuthentication.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
this.tblProxyAuthentication.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tblProxyAuthentication.Size = new System.Drawing.Size(350, 57);
this.tblProxyAuthentication.TabIndex = 5;
tblProxyAuthentication.ColumnCount = 2;
tblProxyAuthentication.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 160F));
tblProxyAuthentication.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tblProxyAuthentication.Controls.Add(lblProxyPassword, 0, 1);
tblProxyAuthentication.Controls.Add(lblProxyUsername, 0, 0);
tblProxyAuthentication.Controls.Add(txtProxyUsername, 1, 0);
tblProxyAuthentication.Controls.Add(txtProxyPassword, 1, 1);
tblProxyAuthentication.Location = new System.Drawing.Point(6, 124);
tblProxyAuthentication.Name = "tblProxyAuthentication";
tblProxyAuthentication.RowCount = 3;
tblProxyAuthentication.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tblProxyAuthentication.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F));
tblProxyAuthentication.RowStyles.Add(new System.Windows.Forms.RowStyle());
tblProxyAuthentication.Size = new System.Drawing.Size(350, 57);
tblProxyAuthentication.TabIndex = 5;
//
// lblProxyPassword
//
this.lblProxyPassword.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblProxyPassword.Location = new System.Drawing.Point(3, 26);
this.lblProxyPassword.Name = "lblProxyPassword";
this.lblProxyPassword.Size = new System.Drawing.Size(154, 26);
this.lblProxyPassword.TabIndex = 2;
this.lblProxyPassword.Text = "Password:";
this.lblProxyPassword.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblProxyPassword.Dock = System.Windows.Forms.DockStyle.Fill;
lblProxyPassword.Location = new System.Drawing.Point(3, 26);
lblProxyPassword.Name = "lblProxyPassword";
lblProxyPassword.Size = new System.Drawing.Size(154, 26);
lblProxyPassword.TabIndex = 2;
lblProxyPassword.Text = "Password:";
lblProxyPassword.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblProxyUsername
//
this.lblProxyUsername.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblProxyUsername.Location = new System.Drawing.Point(3, 0);
this.lblProxyUsername.Name = "lblProxyUsername";
this.lblProxyUsername.Size = new System.Drawing.Size(154, 26);
this.lblProxyUsername.TabIndex = 0;
this.lblProxyUsername.Text = "Username:";
this.lblProxyUsername.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
lblProxyUsername.Dock = System.Windows.Forms.DockStyle.Fill;
lblProxyUsername.Location = new System.Drawing.Point(3, 0);
lblProxyUsername.Name = "lblProxyUsername";
lblProxyUsername.Size = new System.Drawing.Size(154, 26);
lblProxyUsername.TabIndex = 0;
lblProxyUsername.Text = "Username:";
lblProxyUsername.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtProxyUsername
//
this.txtProxyUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtProxyUsername.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtProxyUsername.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtProxyUsername.Location = new System.Drawing.Point(163, 3);
this.txtProxyUsername.Name = "txtProxyUsername";
this.txtProxyUsername.Size = new System.Drawing.Size(184, 22);
this.txtProxyUsername.TabIndex = 1;
txtProxyUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtProxyUsername.Dock = System.Windows.Forms.DockStyle.Fill;
txtProxyUsername.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtProxyUsername.Location = new System.Drawing.Point(163, 3);
txtProxyUsername.Name = "txtProxyUsername";
txtProxyUsername.Size = new System.Drawing.Size(184, 22);
txtProxyUsername.TabIndex = 1;
//
// txtProxyPassword
//
this.txtProxyPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtProxyPassword.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtProxyPassword.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtProxyPassword.Location = new System.Drawing.Point(163, 29);
this.txtProxyPassword.Name = "txtProxyPassword";
this.txtProxyPassword.Size = new System.Drawing.Size(184, 22);
this.txtProxyPassword.TabIndex = 3;
this.txtProxyPassword.UseSystemPasswordChar = true;
txtProxyPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
txtProxyPassword.Dock = System.Windows.Forms.DockStyle.Fill;
txtProxyPassword.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
txtProxyPassword.Location = new System.Drawing.Point(163, 29);
txtProxyPassword.Name = "txtProxyPassword";
txtProxyPassword.Size = new System.Drawing.Size(184, 22);
txtProxyPassword.TabIndex = 3;
txtProxyPassword.UseSystemPasswordChar = true;
//
// chkUseProxyForAutomaticUpdates
//
this.chkUseProxyForAutomaticUpdates._mice = MrngCheckBox.MouseState.OUT;
this.chkUseProxyForAutomaticUpdates.AutoSize = true;
this.chkUseProxyForAutomaticUpdates.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkUseProxyForAutomaticUpdates.Location = new System.Drawing.Point(6, 5);
this.chkUseProxyForAutomaticUpdates.Name = "chkUseProxyForAutomaticUpdates";
this.chkUseProxyForAutomaticUpdates.Size = new System.Drawing.Size(176, 17);
this.chkUseProxyForAutomaticUpdates.TabIndex = 0;
this.chkUseProxyForAutomaticUpdates.Text = "Use a proxy server to connect";
this.chkUseProxyForAutomaticUpdates.UseVisualStyleBackColor = true;
this.chkUseProxyForAutomaticUpdates.CheckedChanged += new System.EventHandler(this.chkUseProxyForAutomaticUpdates_CheckedChanged);
chkUseProxyForAutomaticUpdates._mice = MrngCheckBox.MouseState.OUT;
chkUseProxyForAutomaticUpdates.AutoSize = true;
chkUseProxyForAutomaticUpdates.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkUseProxyForAutomaticUpdates.Location = new System.Drawing.Point(6, 5);
chkUseProxyForAutomaticUpdates.Name = "chkUseProxyForAutomaticUpdates";
chkUseProxyForAutomaticUpdates.Size = new System.Drawing.Size(176, 17);
chkUseProxyForAutomaticUpdates.TabIndex = 0;
chkUseProxyForAutomaticUpdates.Text = "Use a proxy server to connect";
chkUseProxyForAutomaticUpdates.UseVisualStyleBackColor = true;
chkUseProxyForAutomaticUpdates.CheckedChanged += chkUseProxyForAutomaticUpdates_CheckedChanged;
//
// chkUseProxyAuthentication
//
this.chkUseProxyAuthentication._mice = MrngCheckBox.MouseState.OUT;
this.chkUseProxyAuthentication.AutoSize = true;
this.chkUseProxyAuthentication.Enabled = false;
this.chkUseProxyAuthentication.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.chkUseProxyAuthentication.Location = new System.Drawing.Point(6, 101);
this.chkUseProxyAuthentication.Name = "chkUseProxyAuthentication";
this.chkUseProxyAuthentication.Size = new System.Drawing.Size(235, 17);
this.chkUseProxyAuthentication.TabIndex = 2;
this.chkUseProxyAuthentication.Text = "This proxy server requires authentication";
this.chkUseProxyAuthentication.UseVisualStyleBackColor = true;
this.chkUseProxyAuthentication.CheckedChanged += new System.EventHandler(this.chkUseProxyAuthentication_CheckedChanged);
chkUseProxyAuthentication._mice = MrngCheckBox.MouseState.OUT;
chkUseProxyAuthentication.AutoSize = true;
chkUseProxyAuthentication.Enabled = false;
chkUseProxyAuthentication.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
chkUseProxyAuthentication.Location = new System.Drawing.Point(6, 101);
chkUseProxyAuthentication.Name = "chkUseProxyAuthentication";
chkUseProxyAuthentication.Size = new System.Drawing.Size(235, 17);
chkUseProxyAuthentication.TabIndex = 2;
chkUseProxyAuthentication.Text = "This proxy server requires authentication";
chkUseProxyAuthentication.UseVisualStyleBackColor = true;
chkUseProxyAuthentication.CheckedChanged += chkUseProxyAuthentication_CheckedChanged;
//
// btnTestProxy
//
this.btnTestProxy._mice = MrngButton.MouseState.OUT;
this.btnTestProxy.Location = new System.Drawing.Point(6, 187);
this.btnTestProxy.Name = "btnTestProxy";
this.btnTestProxy.Size = new System.Drawing.Size(120, 25);
this.btnTestProxy.TabIndex = 4;
this.btnTestProxy.Text = "Test Proxy";
this.btnTestProxy.UseVisualStyleBackColor = true;
this.btnTestProxy.Click += new System.EventHandler(this.btnTestProxy_Click);
btnTestProxy._mice = MrngButton.MouseState.OUT;
btnTestProxy.Location = new System.Drawing.Point(6, 187);
btnTestProxy.Name = "btnTestProxy";
btnTestProxy.Size = new System.Drawing.Size(120, 25);
btnTestProxy.TabIndex = 4;
btnTestProxy.Text = "Test Proxy";
btnTestProxy.UseVisualStyleBackColor = true;
btnTestProxy.Click += btnTestProxy_Click;
//
// groupBoxReleaseChannel
//
this.groupBoxReleaseChannel.Controls.Add(this.lblReleaseChannelExplanation);
this.groupBoxReleaseChannel.Controls.Add(this.cboReleaseChannel);
this.groupBoxReleaseChannel.Location = new System.Drawing.Point(3, 143);
this.groupBoxReleaseChannel.Name = "groupBoxReleaseChannel";
this.groupBoxReleaseChannel.Size = new System.Drawing.Size(604, 104);
this.groupBoxReleaseChannel.TabIndex = 3;
this.groupBoxReleaseChannel.TabStop = false;
this.groupBoxReleaseChannel.Text = "Release Channel";
groupBoxReleaseChannel.Controls.Add(lblReleaseChannelExplanation);
groupBoxReleaseChannel.Controls.Add(cboReleaseChannel);
groupBoxReleaseChannel.Location = new System.Drawing.Point(3, 130);
groupBoxReleaseChannel.Name = "groupBoxReleaseChannel";
groupBoxReleaseChannel.Size = new System.Drawing.Size(604, 104);
groupBoxReleaseChannel.TabIndex = 3;
groupBoxReleaseChannel.TabStop = false;
groupBoxReleaseChannel.Text = "Release Channel";
//
// UpdatesPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.Controls.Add(this.groupBoxReleaseChannel);
this.Controls.Add(this.lblUpdatesExplanation);
this.Controls.Add(this.pnlUpdateCheck);
this.Controls.Add(this.pnlProxy);
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "UpdatesPage";
this.Size = new System.Drawing.Size(610, 490);
this.pnlUpdateCheck.ResumeLayout(false);
this.pnlUpdateCheck.PerformLayout();
this.pnlProxy.ResumeLayout(false);
this.pnlProxy.PerformLayout();
this.tblProxyBasic.ResumeLayout(false);
this.tblProxyBasic.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numProxyPort)).EndInit();
this.tblProxyAuthentication.ResumeLayout(false);
this.tblProxyAuthentication.PerformLayout();
this.groupBoxReleaseChannel.ResumeLayout(false);
this.groupBoxReleaseChannel.PerformLayout();
this.ResumeLayout(false);
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
Controls.Add(groupBoxReleaseChannel);
Controls.Add(lblUpdatesExplanation);
Controls.Add(pnlUpdateCheck);
Controls.Add(pnlProxy);
Margin = new System.Windows.Forms.Padding(4);
Name = "UpdatesPage";
Size = new System.Drawing.Size(610, 490);
pnlUpdateCheck.ResumeLayout(false);
pnlUpdateCheck.PerformLayout();
pnlProxy.ResumeLayout(false);
pnlProxy.PerformLayout();
tblProxyBasic.ResumeLayout(false);
tblProxyBasic.PerformLayout();
((System.ComponentModel.ISupportInitialize)numProxyPort).EndInit();
tblProxyAuthentication.ResumeLayout(false);
tblProxyAuthentication.PerformLayout();
groupBoxReleaseChannel.ResumeLayout(false);
groupBoxReleaseChannel.PerformLayout();
ResumeLayout(false);
}
}
internal Controls.MrngLabel lblUpdatesExplanation;
internal System.Windows.Forms.Panel pnlUpdateCheck;
internal MrngButton btnUpdateCheckNow;
internal MrngCheckBox chkCheckForUpdatesOnStartup;
internal MrngComboBox cboUpdateCheckFrequency;
internal System.Windows.Forms.Panel pnlProxy;
internal Controls.MrngLabel lblProxyAddress;
internal Controls.MrngTextBox txtProxyAddress;
internal Controls.MrngLabel lblProxyPort;
internal Controls.MrngNumericUpDown numProxyPort;
internal MrngCheckBox chkUseProxyForAutomaticUpdates;
internal MrngCheckBox chkUseProxyAuthentication;
internal Controls.MrngLabel lblProxyUsername;
internal Controls.MrngTextBox txtProxyUsername;
internal Controls.MrngLabel lblProxyPassword;
internal Controls.MrngTextBox txtProxyPassword;
internal MrngButton btnTestProxy;
internal Controls.MrngLabel lblUpdatesExplanation;
internal System.Windows.Forms.Panel pnlUpdateCheck;
internal MrngButton btnUpdateCheckNow;
internal MrngCheckBox chkCheckForUpdatesOnStartup;
internal MrngComboBox cboUpdateCheckFrequency;
internal System.Windows.Forms.Panel pnlProxy;
internal Controls.MrngLabel lblProxyAddress;
internal Controls.MrngTextBox txtProxyAddress;
internal Controls.MrngLabel lblProxyPort;
internal Controls.MrngNumericUpDown numProxyPort;
internal MrngCheckBox chkUseProxyForAutomaticUpdates;
internal MrngCheckBox chkUseProxyAuthentication;
internal Controls.MrngLabel lblProxyUsername;
internal Controls.MrngTextBox txtProxyUsername;
internal Controls.MrngLabel lblProxyPassword;
internal Controls.MrngTextBox txtProxyPassword;
internal MrngButton btnTestProxy;
private MrngComboBox cboReleaseChannel;
private Controls.MrngTextBox lblReleaseChannelExplanation;
private MrngGroupBox groupBoxReleaseChannel;

View File

@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">

View File

@@ -1,4 +1,6 @@
using mRemoteNG.UI.Controls;
using System.Windows;
using System.Windows.Forms;
using mRemoteNG.UI.Controls;
namespace mRemoteNG.UI.Forms
{
@@ -153,7 +155,7 @@ namespace mRemoteNG.UI.Forms
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(764, 527);
this.ClientSize = new System.Drawing.Size(1075, 725);
this.Controls.Add(this.pnlMain);
this.Controls.Add(this.splitter2);
this.Controls.Add(this.lstOptionPages);