mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
revised credential manager forms design
This commit is contained in:
146
mRemoteV1/Resources/Language/Language.Designer.cs
generated
146
mRemoteV1/Resources/Language/Language.Designer.cs
generated
@@ -19,7 +19,7 @@ namespace mRemoteNG {
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Language {
|
||||
@@ -204,6 +204,15 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Lock.
|
||||
/// </summary>
|
||||
internal static string Lock {
|
||||
get {
|
||||
return ResourceManager.GetString("Lock", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Login failed for user '{0}'..
|
||||
/// </summary>
|
||||
@@ -240,15 +249,6 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to The selected repository is unlocked.
|
||||
/// </summary>
|
||||
internal static string RepositoryIsUnlocked {
|
||||
get {
|
||||
return ResourceManager.GetString("RepositoryIsUnlocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Save connections after every edit.
|
||||
/// </summary>
|
||||
@@ -384,6 +384,24 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Add Record.
|
||||
/// </summary>
|
||||
internal static string strAddRecord {
|
||||
get {
|
||||
return ResourceManager.GetString("strAddRecord", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Add Repository.
|
||||
/// </summary>
|
||||
internal static string strAddRepo {
|
||||
get {
|
||||
return ResourceManager.GetString("strAddRepo", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Advanced security options.
|
||||
/// </summary>
|
||||
@@ -519,6 +537,15 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Automatically close this dialog after the last repository is unlocked.
|
||||
/// </summary>
|
||||
internal static string strAutoCloseDialog {
|
||||
get {
|
||||
return ResourceManager.GetString("strAutoCloseDialog", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Automatically get session information.
|
||||
/// </summary>
|
||||
@@ -1544,6 +1571,15 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Where should we save the new credential file?.
|
||||
/// </summary>
|
||||
internal static string strConnectionFilePathPrompt {
|
||||
get {
|
||||
return ResourceManager.GetString("strConnectionFilePathPrompt", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Opening connection failed!.
|
||||
/// </summary>
|
||||
@@ -1562,6 +1598,15 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Set password for the credential repository.
|
||||
/// </summary>
|
||||
internal static string strConnectionPasswordPrompt {
|
||||
get {
|
||||
return ResourceManager.GetString("strConnectionPasswordPrompt", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to RDP error!
|
||||
///Error Code: {0}
|
||||
@@ -1709,6 +1754,15 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Continue.
|
||||
/// </summary>
|
||||
internal static string strContinue {
|
||||
get {
|
||||
return ResourceManager.GetString("strContinue", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Couldn't create new connections file!.
|
||||
/// </summary>
|
||||
@@ -1774,6 +1828,15 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Credentials found.
|
||||
/// </summary>
|
||||
internal static string strCredentialsFound {
|
||||
get {
|
||||
return ResourceManager.GetString("strCredentialsFound", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Installed version.
|
||||
/// </summary>
|
||||
@@ -1873,6 +1936,33 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Edit.
|
||||
/// </summary>
|
||||
internal static string strEdit {
|
||||
get {
|
||||
return ResourceManager.GetString("strEdit", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Edit Record.
|
||||
/// </summary>
|
||||
internal static string strEditRecord {
|
||||
get {
|
||||
return ResourceManager.GetString("strEditRecord", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Edit Repository.
|
||||
/// </summary>
|
||||
internal static string strEditRepo {
|
||||
get {
|
||||
return ResourceManager.GetString("strEditRepo", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Do you want to continue with no password?.
|
||||
/// </summary>
|
||||
@@ -3209,6 +3299,15 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Lock Repository.
|
||||
/// </summary>
|
||||
internal static string strLockRepo {
|
||||
get {
|
||||
return ResourceManager.GetString("strLockRepo", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Lock toolbar positions.
|
||||
/// </summary>
|
||||
@@ -6460,6 +6559,24 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Remove Record.
|
||||
/// </summary>
|
||||
internal static string strRemoveRecord {
|
||||
get {
|
||||
return ResourceManager.GetString("strRemoveRecord", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Remove Repository.
|
||||
/// </summary>
|
||||
internal static string strRemoveRepo {
|
||||
get {
|
||||
return ResourceManager.GetString("strRemoveRepo", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Rename.
|
||||
/// </summary>
|
||||
@@ -7468,6 +7585,15 @@ namespace mRemoteNG {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Unlock Repository.
|
||||
/// </summary>
|
||||
internal static string strUnlockRepo {
|
||||
get {
|
||||
return ResourceManager.GetString("strUnlockRepo", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Unnamed Theme.
|
||||
/// </summary>
|
||||
|
||||
@@ -2180,7 +2180,7 @@ mRemoteNG wird nun geschlossen und die Installation gestartet.</value>
|
||||
<value>Eine Verbindungsdatei öffnen</value>
|
||||
</data>
|
||||
<data name="strConnectNoCredentials" xml:space="preserve">
|
||||
<value>Ohne Anmeldedaten verbinden</value>
|
||||
<value>Ohne Account verbinden</value>
|
||||
</data>
|
||||
<data name="strDontConnectToConsoleSessionMenuItem" xml:space="preserve">
|
||||
<value>Keine Verbindung zur Konsolensitzung herstellen</value>
|
||||
@@ -2401,16 +2401,16 @@ Diese Seite führt Sie durch den Prozess der Aktualisierung Ihrer Verbindungsdat
|
||||
<value>Akzeptieren</value>
|
||||
</data>
|
||||
<data name="strCredentialEditor" xml:space="preserve">
|
||||
<value>Anmeldeinformationen Editor</value>
|
||||
<value>Account Editor</value>
|
||||
</data>
|
||||
<data name="strAssignedCredential" xml:space="preserve">
|
||||
<value>Zugewiesene Anmeldedaten</value>
|
||||
<value>Zugewiesene Accounts</value>
|
||||
</data>
|
||||
<data name="strHttpsInsecurePromptTitle" xml:space="preserve">
|
||||
<value>Unsicheres Zertifikat zulassen?</value>
|
||||
</data>
|
||||
<data name="Unlock" xml:space="preserve">
|
||||
<value>Freischalten</value>
|
||||
<value>Entsperren</value>
|
||||
</data>
|
||||
<data name="strOptionsThemeEnableTheming" xml:space="preserve">
|
||||
<value>Themes aktivieren</value>
|
||||
@@ -2477,14 +2477,13 @@ Es werden keine Themes geladen, vergewissern Sie sich, dass das standard mremote
|
||||
<value>Hinzufügen</value>
|
||||
</data>
|
||||
<data name="strPropertyDescriptionCredential" xml:space="preserve">
|
||||
<value>Wählen Sie aus, welche Anmeldeinformationen für diese Verbindung verwendet werden sollen.</value>
|
||||
<value>Wählen Sie aus, welcher Account für diese Verbindung verwendet werden sollen.</value>
|
||||
</data>
|
||||
<data name="strConfirmDeleteCredentialRecord" xml:space="preserve">
|
||||
<value>Möchten Sie die Anmeldeinformationen {0} wirklich löschen?</value>
|
||||
<value>Möchten Sie den Account {0} wirklich löschen?</value>
|
||||
</data>
|
||||
<data name="strFindMatchingCredentialFailed" xml:space="preserve">
|
||||
<value>
|
||||
Es konnte kein Anmeldedatensatz mit der ID "{0}" für den Verbindungsdatensatz mit dem Namen "{1}" gefunden werden.</value>
|
||||
<value>Es konnte kein Account mit der ID "{0}" für den Verbindungsdatensatz mit dem Namen "{1}" gefunden werden.</value>
|
||||
</data>
|
||||
<data name="strPropertyDescriptionRDPAlertIdleTimeout" xml:space="preserve">
|
||||
<value>Wählen Sie, ob eine Benachrichtigung empfangen werden soll, nachdem die RDP-Sitzung aufgrund von Inaktivität getrennt wurde</value>
|
||||
@@ -2534,10 +2533,10 @@ Wählen Sie einen Pfad für die mRemoteNG-Protokolldatei</value>
|
||||
<value>Das ausgewählte Repository ist entsperrt</value>
|
||||
</data>
|
||||
<data name="Unlocking" xml:space="preserve">
|
||||
<value>Freischalten</value>
|
||||
<value>Entsperren</value>
|
||||
</data>
|
||||
<data name="UnlockCredentialRepository" xml:space="preserve">
|
||||
<value>Entsperre Credential Repository</value>
|
||||
<value>Entsperre Account Repository</value>
|
||||
</data>
|
||||
<data name="PromptUnlockCredReposOnStartup" xml:space="preserve">
|
||||
<value>Auffordern das Credential Repository beim Start zu entsperren</value>
|
||||
@@ -2576,7 +2575,7 @@ Wählen Sie einen Pfad für die mRemoteNG-Protokolldatei</value>
|
||||
<value>Den Aktuell gewählten Ordner exportieren</value>
|
||||
</data>
|
||||
<data name="strCredentialManager" xml:space="preserve">
|
||||
<value>Anmeldeinformationen Manager</value>
|
||||
<value>Account Manager</value>
|
||||
</data>
|
||||
<data name="strPopups" xml:space="preserve">
|
||||
<value>Pop-ups</value>
|
||||
@@ -2620,4 +2619,7 @@ Wählen Sie einen Pfad für die mRemoteNG-Protokolldatei</value>
|
||||
<data name="PlaceSearchBarAboveConnectionTree" xml:space="preserve">
|
||||
<value>Suchleiste über den Verbindungen anzeigen</value>
|
||||
</data>
|
||||
<data name="Lock" xml:space="preserve">
|
||||
<value>Sperren</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -2521,9 +2521,6 @@ mRemoteNG will now quit and begin with the installation.</value>
|
||||
<data name="strHttpsInsecurePromptTitle" xml:space="preserve">
|
||||
<value>Allow Insecure Certificate?</value>
|
||||
</data>
|
||||
<data name="RepositoryIsUnlocked" xml:space="preserve">
|
||||
<value>The selected repository is unlocked</value>
|
||||
</data>
|
||||
<data name="IncorrectPassword" xml:space="preserve">
|
||||
<value>Incorrect password</value>
|
||||
</data>
|
||||
@@ -2746,4 +2743,49 @@ This page will walk you through the process of upgrading your connections file o
|
||||
<data name="strAlwaysShowConnectionTabs" xml:space="preserve">
|
||||
<value>Always show connection tabs</value>
|
||||
</data>
|
||||
<data name="Lock" xml:space="preserve">
|
||||
<value>Lock</value>
|
||||
</data>
|
||||
<data name="strConnectionFilePathPrompt" xml:space="preserve">
|
||||
<value>Where should we save the new credential file?</value>
|
||||
</data>
|
||||
<data name="strConnectionPasswordPrompt" xml:space="preserve">
|
||||
<value>Set password for the credential repository</value>
|
||||
</data>
|
||||
<data name="strCredentialsFound" xml:space="preserve">
|
||||
<value>Credentials found</value>
|
||||
</data>
|
||||
<data name="strAddRecord" xml:space="preserve">
|
||||
<value>Add Record</value>
|
||||
</data>
|
||||
<data name="strAddRepo" xml:space="preserve">
|
||||
<value>Add Repository</value>
|
||||
</data>
|
||||
<data name="strAutoCloseDialog" xml:space="preserve">
|
||||
<value>Automatically close this dialog after the last repository is unlocked</value>
|
||||
</data>
|
||||
<data name="strContinue" xml:space="preserve">
|
||||
<value>Continue</value>
|
||||
</data>
|
||||
<data name="strEdit" xml:space="preserve">
|
||||
<value>Edit</value>
|
||||
</data>
|
||||
<data name="strEditRecord" xml:space="preserve">
|
||||
<value>Edit Record</value>
|
||||
</data>
|
||||
<data name="strEditRepo" xml:space="preserve">
|
||||
<value>Edit Repository</value>
|
||||
</data>
|
||||
<data name="strLockRepo" xml:space="preserve">
|
||||
<value>Lock Repository</value>
|
||||
</data>
|
||||
<data name="strRemoveRecord" xml:space="preserve">
|
||||
<value>Remove Record</value>
|
||||
</data>
|
||||
<data name="strRemoveRepo" xml:space="preserve">
|
||||
<value>Remove Repository</value>
|
||||
</data>
|
||||
<data name="strUnlockRepo" xml:space="preserve">
|
||||
<value>Unlock Repository</value>
|
||||
</data>
|
||||
</root>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -46,6 +46,7 @@
|
||||
this.objectListView1.AllColumns.Add(this.olvColumnCredentialId);
|
||||
this.objectListView1.AllColumns.Add(this.olvColumnRepositoryTitle);
|
||||
this.objectListView1.AllColumns.Add(this.olvColumnRepositorySource);
|
||||
this.objectListView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.objectListView1.CellEditUseWholeCell = false;
|
||||
this.objectListView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.olvColumnTitle,
|
||||
@@ -108,7 +109,6 @@
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.Controls.Add(this.objectListView1);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.Name = "CredentialRecordListView";
|
||||
this.Size = new System.Drawing.Size(367, 204);
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectListView1)).EndInit();
|
||||
|
||||
@@ -46,19 +46,19 @@
|
||||
this.labelId = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.labelPasswordError = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.imgPasswordError = new System.Windows.Forms.PictureBox();
|
||||
this.imgUnlocked = new System.Windows.Forms.PictureBox();
|
||||
this.labelUnlocked = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.secureTextBoxPassword = new mRemoteNG.UI.Controls.SecureTextBox();
|
||||
this.chkCloseAfterLastUnlock = new mRemoteNG.UI.Controls.Base.NGCheckBox();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectListViewRepos)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgPasswordError)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgUnlocked)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// objectListViewRepos
|
||||
//
|
||||
this.objectListViewRepos.AllColumns.Add(this.olvColumnName);
|
||||
this.objectListViewRepos.AllColumns.Add(this.olvColumnStatusIcon);
|
||||
this.objectListViewRepos.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.objectListViewRepos.CellEditUseWholeCell = false;
|
||||
this.objectListViewRepos.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.olvColumnName,
|
||||
@@ -75,7 +75,7 @@
|
||||
this.objectListViewRepos.Name = "objectListViewRepos";
|
||||
this.objectListViewRepos.SelectAllOnControlA = false;
|
||||
this.objectListViewRepos.ShowGroups = false;
|
||||
this.objectListViewRepos.Size = new System.Drawing.Size(175, 309);
|
||||
this.objectListViewRepos.Size = new System.Drawing.Size(175, 271);
|
||||
this.objectListViewRepos.TabIndex = 3;
|
||||
this.objectListViewRepos.UseCompatibleStateImageBehavior = false;
|
||||
this.objectListViewRepos.UseOverlays = false;
|
||||
@@ -112,9 +112,9 @@
|
||||
//
|
||||
// labelPassword
|
||||
//
|
||||
this.labelPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labelPassword.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.labelPassword.AutoSize = true;
|
||||
this.labelPassword.Location = new System.Drawing.Point(191, 182);
|
||||
this.labelPassword.Location = new System.Drawing.Point(3, 151);
|
||||
this.labelPassword.Name = "labelPassword";
|
||||
this.labelPassword.Size = new System.Drawing.Size(53, 13);
|
||||
this.labelPassword.TabIndex = 2;
|
||||
@@ -123,10 +123,9 @@
|
||||
// buttonUnlock
|
||||
//
|
||||
this.buttonUnlock._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonUnlock.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonUnlock.Location = new System.Drawing.Point(383, 243);
|
||||
this.buttonUnlock.Location = new System.Drawing.Point(494, 212);
|
||||
this.buttonUnlock.Name = "buttonUnlock";
|
||||
this.buttonUnlock.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonUnlock.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonUnlock.TabIndex = 1;
|
||||
this.buttonUnlock.Text = "Unlock";
|
||||
this.buttonUnlock.UseVisualStyleBackColor = true;
|
||||
@@ -135,11 +134,10 @@
|
||||
// buttonClose
|
||||
//
|
||||
this.buttonClose._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.buttonClose.Location = new System.Drawing.Point(464, 243);
|
||||
this.buttonClose.Location = new System.Drawing.Point(600, 212);
|
||||
this.buttonClose.Name = "buttonClose";
|
||||
this.buttonClose.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonClose.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonClose.TabIndex = 2;
|
||||
this.buttonClose.Text = "Close";
|
||||
this.buttonClose.UseVisualStyleBackColor = true;
|
||||
@@ -147,8 +145,9 @@
|
||||
//
|
||||
// labelRepoTitle
|
||||
//
|
||||
this.labelRepoTitle.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.labelRepoTitle.AutoSize = true;
|
||||
this.labelRepoTitle.Location = new System.Drawing.Point(190, 64);
|
||||
this.labelRepoTitle.Location = new System.Drawing.Point(3, 35);
|
||||
this.labelRepoTitle.Name = "labelRepoTitle";
|
||||
this.labelRepoTitle.Size = new System.Drawing.Size(27, 13);
|
||||
this.labelRepoTitle.TabIndex = 6;
|
||||
@@ -158,10 +157,10 @@
|
||||
//
|
||||
this.textBoxType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxType.Location = new System.Drawing.Point(237, 90);
|
||||
this.textBoxType.Location = new System.Drawing.Point(123, 59);
|
||||
this.textBoxType.Name = "textBoxType";
|
||||
this.textBoxType.ReadOnly = true;
|
||||
this.textBoxType.Size = new System.Drawing.Size(306, 20);
|
||||
this.textBoxType.Size = new System.Drawing.Size(393, 20);
|
||||
this.textBoxType.TabIndex = 9;
|
||||
this.textBoxType.TabStop = false;
|
||||
//
|
||||
@@ -169,17 +168,18 @@
|
||||
//
|
||||
this.textBoxTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxTitle.Location = new System.Drawing.Point(237, 64);
|
||||
this.textBoxTitle.Location = new System.Drawing.Point(123, 31);
|
||||
this.textBoxTitle.Name = "textBoxTitle";
|
||||
this.textBoxTitle.ReadOnly = true;
|
||||
this.textBoxTitle.Size = new System.Drawing.Size(306, 20);
|
||||
this.textBoxTitle.Size = new System.Drawing.Size(393, 20);
|
||||
this.textBoxTitle.TabIndex = 8;
|
||||
this.textBoxTitle.TabStop = false;
|
||||
//
|
||||
// labelRepoType
|
||||
//
|
||||
this.labelRepoType.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.labelRepoType.AutoSize = true;
|
||||
this.labelRepoType.Location = new System.Drawing.Point(190, 90);
|
||||
this.labelRepoType.Location = new System.Drawing.Point(3, 63);
|
||||
this.labelRepoType.Name = "labelRepoType";
|
||||
this.labelRepoType.Size = new System.Drawing.Size(31, 13);
|
||||
this.labelRepoType.TabIndex = 7;
|
||||
@@ -187,21 +187,19 @@
|
||||
//
|
||||
// textBoxSource
|
||||
//
|
||||
this.textBoxSource.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.textBoxSource.Location = new System.Drawing.Point(237, 116);
|
||||
this.textBoxSource.Location = new System.Drawing.Point(123, 87);
|
||||
this.textBoxSource.Multiline = true;
|
||||
this.textBoxSource.Name = "textBoxSource";
|
||||
this.textBoxSource.ReadOnly = true;
|
||||
this.textBoxSource.Size = new System.Drawing.Size(306, 51);
|
||||
this.textBoxSource.Size = new System.Drawing.Size(393, 54);
|
||||
this.textBoxSource.TabIndex = 11;
|
||||
this.textBoxSource.TabStop = false;
|
||||
//
|
||||
// labelRepoSource
|
||||
//
|
||||
this.labelRepoSource.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.labelRepoSource.AutoSize = true;
|
||||
this.labelRepoSource.Location = new System.Drawing.Point(190, 116);
|
||||
this.labelRepoSource.Location = new System.Drawing.Point(3, 107);
|
||||
this.labelRepoSource.Name = "labelRepoSource";
|
||||
this.labelRepoSource.Size = new System.Drawing.Size(41, 13);
|
||||
this.labelRepoSource.TabIndex = 10;
|
||||
@@ -211,17 +209,18 @@
|
||||
//
|
||||
this.textBoxId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxId.Location = new System.Drawing.Point(237, 38);
|
||||
this.textBoxId.Location = new System.Drawing.Point(123, 3);
|
||||
this.textBoxId.Name = "textBoxId";
|
||||
this.textBoxId.ReadOnly = true;
|
||||
this.textBoxId.Size = new System.Drawing.Size(305, 20);
|
||||
this.textBoxId.Size = new System.Drawing.Size(393, 20);
|
||||
this.textBoxId.TabIndex = 13;
|
||||
this.textBoxId.TabStop = false;
|
||||
//
|
||||
// labelId
|
||||
//
|
||||
this.labelId.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.labelId.AutoSize = true;
|
||||
this.labelId.Location = new System.Drawing.Point(191, 38);
|
||||
this.labelId.Location = new System.Drawing.Point(3, 7);
|
||||
this.labelId.Name = "labelId";
|
||||
this.labelId.Size = new System.Drawing.Size(18, 13);
|
||||
this.labelId.TabIndex = 12;
|
||||
@@ -229,12 +228,11 @@
|
||||
//
|
||||
// labelPasswordError
|
||||
//
|
||||
this.labelPasswordError.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labelPasswordError.AutoSize = true;
|
||||
this.labelPasswordError.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelPasswordError.ForeColor = System.Drawing.Color.DarkRed;
|
||||
this.labelPasswordError.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
|
||||
this.labelPasswordError.Location = new System.Drawing.Point(192, 221);
|
||||
this.labelPasswordError.Location = new System.Drawing.Point(304, 218);
|
||||
this.labelPasswordError.Name = "labelPasswordError";
|
||||
this.labelPasswordError.Size = new System.Drawing.Size(115, 13);
|
||||
this.labelPasswordError.TabIndex = 14;
|
||||
@@ -243,88 +241,85 @@
|
||||
//
|
||||
// imgPasswordError
|
||||
//
|
||||
this.imgPasswordError.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.imgPasswordError.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.imgPasswordError.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.imgPasswordError.Image = global::mRemoteNG.Resources.exclamation;
|
||||
this.imgPasswordError.Location = new System.Drawing.Point(177, 200);
|
||||
this.imgPasswordError.Location = new System.Drawing.Point(103, 150);
|
||||
this.imgPasswordError.Name = "imgPasswordError";
|
||||
this.imgPasswordError.Size = new System.Drawing.Size(16, 16);
|
||||
this.imgPasswordError.Size = new System.Drawing.Size(14, 16);
|
||||
this.imgPasswordError.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.imgPasswordError.TabIndex = 15;
|
||||
this.imgPasswordError.TabStop = false;
|
||||
this.imgPasswordError.Visible = false;
|
||||
//
|
||||
// imgUnlocked
|
||||
//
|
||||
this.imgUnlocked.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.imgUnlocked.Image = global::mRemoteNG.Resources.tick;
|
||||
this.imgUnlocked.Location = new System.Drawing.Point(185, 247);
|
||||
this.imgUnlocked.Name = "imgUnlocked";
|
||||
this.imgUnlocked.Size = new System.Drawing.Size(16, 16);
|
||||
this.imgUnlocked.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.imgUnlocked.TabIndex = 16;
|
||||
this.imgUnlocked.TabStop = false;
|
||||
this.imgUnlocked.Visible = false;
|
||||
//
|
||||
// labelUnlocked
|
||||
//
|
||||
this.labelUnlocked.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labelUnlocked.AutoSize = true;
|
||||
this.labelUnlocked.Location = new System.Drawing.Point(201, 248);
|
||||
this.labelUnlocked.Name = "labelUnlocked";
|
||||
this.labelUnlocked.Size = new System.Drawing.Size(174, 13);
|
||||
this.labelUnlocked.TabIndex = 17;
|
||||
this.labelUnlocked.Text = "The selected repository is unlocked";
|
||||
this.labelUnlocked.Visible = false;
|
||||
//
|
||||
// secureTextBoxPassword
|
||||
//
|
||||
this.secureTextBoxPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.secureTextBoxPassword.Location = new System.Drawing.Point(194, 198);
|
||||
this.secureTextBoxPassword.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.secureTextBoxPassword.Location = new System.Drawing.Point(123, 147);
|
||||
this.secureTextBoxPassword.Name = "secureTextBoxPassword";
|
||||
this.secureTextBoxPassword.Size = new System.Drawing.Size(348, 20);
|
||||
this.secureTextBoxPassword.Size = new System.Drawing.Size(393, 22);
|
||||
this.secureTextBoxPassword.TabIndex = 0;
|
||||
this.secureTextBoxPassword.UseSystemPasswordChar = true;
|
||||
//
|
||||
// chkCloseAfterLastUnlock
|
||||
//
|
||||
this.chkCloseAfterLastUnlock._mice = mRemoteNG.UI.Controls.Base.NGCheckBox.MouseState.HOVER;
|
||||
this.chkCloseAfterLastUnlock.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkCloseAfterLastUnlock.AutoSize = true;
|
||||
this.chkCloseAfterLastUnlock.Location = new System.Drawing.Point(185, 280);
|
||||
this.chkCloseAfterLastUnlock.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.chkCloseAfterLastUnlock.Location = new System.Drawing.Point(184, 247);
|
||||
this.chkCloseAfterLastUnlock.Name = "chkCloseAfterLastUnlock";
|
||||
this.chkCloseAfterLastUnlock.Size = new System.Drawing.Size(332, 17);
|
||||
this.chkCloseAfterLastUnlock.Size = new System.Drawing.Size(367, 17);
|
||||
this.chkCloseAfterLastUnlock.TabIndex = 18;
|
||||
this.chkCloseAfterLastUnlock.Text = "Automatically close this dialog after the last repository is unlocked";
|
||||
this.chkCloseAfterLastUnlock.UseVisualStyleBackColor = true;
|
||||
this.chkCloseAfterLastUnlock.CheckedChanged += new System.EventHandler(this.chkCloseAfterLastUnlock_CheckedChanged);
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 3;
|
||||
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, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelPassword, 0, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelRepoSource, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelRepoType, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelRepoTitle, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.imgPasswordError, 1, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.labelId, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.textBoxId, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.secureTextBoxPassword, 2, 4);
|
||||
this.tableLayoutPanel1.Controls.Add(this.textBoxSource, 2, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.textBoxTitle, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.textBoxType, 2, 2);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(184, 28);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 6;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(519, 178);
|
||||
this.tableLayoutPanel1.TabIndex = 19;
|
||||
//
|
||||
// CompositeCredentialRepoUnlockerForm
|
||||
//
|
||||
this.AcceptButton = this.buttonUnlock;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.buttonClose;
|
||||
this.ClientSize = new System.Drawing.Size(554, 309);
|
||||
this.ClientSize = new System.Drawing.Size(709, 271);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Controls.Add(this.chkCloseAfterLastUnlock);
|
||||
this.Controls.Add(this.labelUnlocked);
|
||||
this.Controls.Add(this.imgUnlocked);
|
||||
this.Controls.Add(this.imgPasswordError);
|
||||
this.Controls.Add(this.labelPasswordError);
|
||||
this.Controls.Add(this.textBoxId);
|
||||
this.Controls.Add(this.labelId);
|
||||
this.Controls.Add(this.textBoxSource);
|
||||
this.Controls.Add(this.labelRepoSource);
|
||||
this.Controls.Add(this.secureTextBoxPassword);
|
||||
this.Controls.Add(this.textBoxType);
|
||||
this.Controls.Add(this.buttonUnlock);
|
||||
this.Controls.Add(this.textBoxTitle);
|
||||
this.Controls.Add(this.buttonClose);
|
||||
this.Controls.Add(this.labelPassword);
|
||||
this.Controls.Add(this.labelRepoType);
|
||||
this.Controls.Add(this.objectListViewRepos);
|
||||
this.Controls.Add(this.labelUnlocking);
|
||||
this.Controls.Add(this.labelRepoTitle);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
@@ -335,7 +330,8 @@
|
||||
this.Shown += new System.EventHandler(this.CompositeCredentialRepoUnlockerForm_Shown);
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectListViewRepos)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgPasswordError)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgUnlocked)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -361,8 +357,7 @@
|
||||
private BrightIdeasSoftware.OLVColumn olvColumnStatusIcon;
|
||||
private Controls.Base.NGLabel labelPasswordError;
|
||||
private System.Windows.Forms.PictureBox imgPasswordError;
|
||||
private System.Windows.Forms.PictureBox imgUnlocked;
|
||||
private Controls.Base.NGLabel labelUnlocked;
|
||||
private Controls.Base.NGCheckBox chkCloseAfterLastUnlock;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
}
|
||||
}
|
||||
@@ -25,7 +25,6 @@ namespace mRemoteNG.UI.Forms
|
||||
chkCloseAfterLastUnlock.Checked = Settings.Default.CloseCredentialUnlockerDialogAfterLastUnlock;
|
||||
_themeManager.ThemeChanged += ApplyTheme;
|
||||
imgPasswordError.Image = _display.ScaleImage(imgPasswordError.Image);
|
||||
imgUnlocked.Image = _display.ScaleImage(imgUnlocked.Image);
|
||||
}
|
||||
|
||||
private void ApplyTheme()
|
||||
@@ -93,8 +92,8 @@ namespace mRemoteNG.UI.Forms
|
||||
{
|
||||
buttonUnlock.Enabled = isUnlockRequired;
|
||||
secureTextBoxPassword.Enabled = isUnlockRequired;
|
||||
imgUnlocked.Visible = objectListViewRepos.SelectedObject != null && !isUnlockRequired;
|
||||
labelUnlocked.Visible = objectListViewRepos.SelectedObject != null && !isUnlockRequired;
|
||||
//imgUnlocked.Visible = objectListViewRepos.SelectedObject != null && !isUnlockRequired;
|
||||
//labelUnlocked.Visible = objectListViewRepos.SelectedObject != null && !isUnlockRequired;
|
||||
}
|
||||
|
||||
private void ShowPasswordError(bool shouldErrorBeActive)
|
||||
@@ -158,10 +157,9 @@ namespace mRemoteNG.UI.Forms
|
||||
labelRepoSource.Text = Language.Source;
|
||||
labelPassword.Text = Language.strTitlePassword;
|
||||
labelPasswordError.Text = Language.IncorrectPassword;
|
||||
labelUnlocked.Text = Language.RepositoryIsUnlocked;
|
||||
buttonUnlock.Text = Language.Unlock;
|
||||
buttonClose.Text = Language.strButtonClose;
|
||||
chkCloseAfterLastUnlock.Text = "Automatically close this dialog after the last repository is unlocked";
|
||||
chkCloseAfterLastUnlock.Text = Language.strAutoCloseDialog;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
this.olvCredentials.AllColumns.Add(this.colUsername);
|
||||
this.olvCredentials.AllColumns.Add(this.colDomain);
|
||||
this.olvCredentials.AllColumns.Add(this.colRepo);
|
||||
this.olvCredentials.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.olvCredentials.CellEditActivation = BrightIdeasSoftware.ObjectListView.CellEditActivateMode.SingleClick;
|
||||
this.olvCredentials.CellEditUseWholeCell = false;
|
||||
this.olvCredentials.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
this.labelId = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.textBoxId = new mRemoteNG.UI.Controls.Base.NGTextBox();
|
||||
this.buttonCancel = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.buttonAccept = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.buttonSave = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.labelPassword = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.textBoxPassword = new mRemoteNG.UI.Controls.SecureTextBox();
|
||||
this.labelDomain = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
@@ -49,7 +49,7 @@
|
||||
this.labelId.AutoSize = true;
|
||||
this.labelId.Location = new System.Drawing.Point(3, 35);
|
||||
this.labelId.Name = "labelId";
|
||||
this.labelId.Size = new System.Drawing.Size(16, 13);
|
||||
this.labelId.Size = new System.Drawing.Size(17, 13);
|
||||
this.labelId.TabIndex = 23;
|
||||
this.labelId.Text = "Id";
|
||||
//
|
||||
@@ -60,7 +60,7 @@
|
||||
this.textBoxId.Location = new System.Drawing.Point(89, 35);
|
||||
this.textBoxId.Name = "textBoxId";
|
||||
this.textBoxId.ReadOnly = true;
|
||||
this.textBoxId.Size = new System.Drawing.Size(208, 20);
|
||||
this.textBoxId.Size = new System.Drawing.Size(208, 22);
|
||||
this.textBoxId.TabIndex = 22;
|
||||
//
|
||||
// buttonCancel
|
||||
@@ -68,32 +68,32 @@
|
||||
this.buttonCancel._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.buttonCancel.Location = new System.Drawing.Point(222, 174);
|
||||
this.buttonCancel.Location = new System.Drawing.Point(191, 167);
|
||||
this.buttonCancel.Name = "buttonCancel";
|
||||
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonCancel.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonCancel.TabIndex = 21;
|
||||
this.buttonCancel.Text = "Cancel";
|
||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
||||
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
||||
//
|
||||
// buttonAccept
|
||||
// buttonSave
|
||||
//
|
||||
this.buttonAccept._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonAccept.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonAccept.Location = new System.Drawing.Point(141, 174);
|
||||
this.buttonAccept.Name = "buttonAccept";
|
||||
this.buttonAccept.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonAccept.TabIndex = 20;
|
||||
this.buttonAccept.Text = "Accept";
|
||||
this.buttonAccept.UseVisualStyleBackColor = true;
|
||||
this.buttonAccept.Click += new System.EventHandler(this.buttonAccept_Click);
|
||||
this.buttonSave._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonSave.Location = new System.Drawing.Point(85, 167);
|
||||
this.buttonSave.Name = "buttonSave";
|
||||
this.buttonSave.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonSave.TabIndex = 20;
|
||||
this.buttonSave.Text = "Save";
|
||||
this.buttonSave.UseVisualStyleBackColor = true;
|
||||
this.buttonSave.Click += new System.EventHandler(this.buttonAccept_Click);
|
||||
//
|
||||
// labelPassword
|
||||
//
|
||||
this.labelPassword.AutoSize = true;
|
||||
this.labelPassword.Location = new System.Drawing.Point(3, 139);
|
||||
this.labelPassword.Name = "labelPassword";
|
||||
this.labelPassword.Size = new System.Drawing.Size(53, 13);
|
||||
this.labelPassword.Size = new System.Drawing.Size(56, 13);
|
||||
this.labelPassword.TabIndex = 19;
|
||||
this.labelPassword.Text = "Password";
|
||||
//
|
||||
@@ -101,10 +101,11 @@
|
||||
//
|
||||
this.textBoxPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxPassword.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxPassword.Location = new System.Drawing.Point(89, 139);
|
||||
this.textBoxPassword.Name = "textBoxPassword";
|
||||
this.textBoxPassword.PasswordChar = '•';
|
||||
this.textBoxPassword.Size = new System.Drawing.Size(208, 20);
|
||||
this.textBoxPassword.Size = new System.Drawing.Size(208, 22);
|
||||
this.textBoxPassword.TabIndex = 18;
|
||||
//
|
||||
// labelDomain
|
||||
@@ -112,7 +113,7 @@
|
||||
this.labelDomain.AutoSize = true;
|
||||
this.labelDomain.Location = new System.Drawing.Point(3, 113);
|
||||
this.labelDomain.Name = "labelDomain";
|
||||
this.labelDomain.Size = new System.Drawing.Size(43, 13);
|
||||
this.labelDomain.Size = new System.Drawing.Size(47, 13);
|
||||
this.labelDomain.TabIndex = 17;
|
||||
this.labelDomain.Text = "Domain";
|
||||
//
|
||||
@@ -122,7 +123,7 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxDomain.Location = new System.Drawing.Point(89, 113);
|
||||
this.textBoxDomain.Name = "textBoxDomain";
|
||||
this.textBoxDomain.Size = new System.Drawing.Size(208, 20);
|
||||
this.textBoxDomain.Size = new System.Drawing.Size(208, 22);
|
||||
this.textBoxDomain.TabIndex = 16;
|
||||
//
|
||||
// labelUsername
|
||||
@@ -130,7 +131,7 @@
|
||||
this.labelUsername.AutoSize = true;
|
||||
this.labelUsername.Location = new System.Drawing.Point(3, 87);
|
||||
this.labelUsername.Name = "labelUsername";
|
||||
this.labelUsername.Size = new System.Drawing.Size(55, 13);
|
||||
this.labelUsername.Size = new System.Drawing.Size(58, 13);
|
||||
this.labelUsername.TabIndex = 15;
|
||||
this.labelUsername.Text = "Username";
|
||||
//
|
||||
@@ -140,7 +141,7 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxUsername.Location = new System.Drawing.Point(89, 87);
|
||||
this.textBoxUsername.Name = "textBoxUsername";
|
||||
this.textBoxUsername.Size = new System.Drawing.Size(208, 20);
|
||||
this.textBoxUsername.Size = new System.Drawing.Size(208, 22);
|
||||
this.textBoxUsername.TabIndex = 14;
|
||||
//
|
||||
// labelTitle
|
||||
@@ -148,7 +149,7 @@
|
||||
this.labelTitle.AutoSize = true;
|
||||
this.labelTitle.Location = new System.Drawing.Point(3, 61);
|
||||
this.labelTitle.Name = "labelTitle";
|
||||
this.labelTitle.Size = new System.Drawing.Size(27, 13);
|
||||
this.labelTitle.Size = new System.Drawing.Size(28, 13);
|
||||
this.labelTitle.TabIndex = 13;
|
||||
this.labelTitle.Text = "Title";
|
||||
//
|
||||
@@ -158,7 +159,7 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxTitle.Location = new System.Drawing.Point(89, 61);
|
||||
this.textBoxTitle.Name = "textBoxTitle";
|
||||
this.textBoxTitle.Size = new System.Drawing.Size(208, 20);
|
||||
this.textBoxTitle.Size = new System.Drawing.Size(208, 22);
|
||||
this.textBoxTitle.TabIndex = 12;
|
||||
//
|
||||
// labelRepositoryName
|
||||
@@ -166,7 +167,7 @@
|
||||
this.labelRepositoryName.AutoSize = true;
|
||||
this.labelRepositoryName.Location = new System.Drawing.Point(3, 9);
|
||||
this.labelRepositoryName.Name = "labelRepositoryName";
|
||||
this.labelRepositoryName.Size = new System.Drawing.Size(57, 13);
|
||||
this.labelRepositoryName.Size = new System.Drawing.Size(62, 13);
|
||||
this.labelRepositoryName.TabIndex = 24;
|
||||
this.labelRepositoryName.Text = "Repository";
|
||||
//
|
||||
@@ -190,7 +191,7 @@
|
||||
this.Controls.Add(this.labelId);
|
||||
this.Controls.Add(this.textBoxId);
|
||||
this.Controls.Add(this.buttonCancel);
|
||||
this.Controls.Add(this.buttonAccept);
|
||||
this.Controls.Add(this.buttonSave);
|
||||
this.Controls.Add(this.labelPassword);
|
||||
this.Controls.Add(this.textBoxPassword);
|
||||
this.Controls.Add(this.labelDomain);
|
||||
@@ -201,7 +202,7 @@
|
||||
this.Controls.Add(this.textBoxTitle);
|
||||
this.MinimumSize = new System.Drawing.Size(300, 200);
|
||||
this.Name = "CredentialEditorPage";
|
||||
this.Size = new System.Drawing.Size(300, 200);
|
||||
this.Size = new System.Drawing.Size(300, 201);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -212,7 +213,7 @@
|
||||
private Controls.Base.NGLabel labelId;
|
||||
private Controls.Base.NGTextBox textBoxId;
|
||||
private Controls.Base.NGButton buttonCancel;
|
||||
private Controls.Base.NGButton buttonAccept;
|
||||
private Controls.Base.NGButton buttonSave;
|
||||
private Controls.Base.NGLabel labelPassword;
|
||||
private Controls.SecureTextBox textBoxPassword;
|
||||
private Controls.Base.NGLabel labelDomain;
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
labelUsername.Text = Language.strPropertyNameUsername;
|
||||
labelDomain.Text = Language.strPropertyNameDomain;
|
||||
labelPassword.Text = Language.strPropertyNamePassword;
|
||||
buttonAccept.Text = Language.strAccept;
|
||||
buttonSave.Text = Language.strSave;
|
||||
buttonCancel.Text = Language.strButtonCancel;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,79 +28,88 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.buttonAdd = new Controls.Base.NGButton();
|
||||
this.buttonRemove = new Controls.Base.NGButton();
|
||||
this.buttonEdit = new Controls.Base.NGButton();
|
||||
mRemoteNG.Credential.Repositories.CredentialRepositoryList credentialRepositoryList1 = new mRemoteNG.Credential.Repositories.CredentialRepositoryList();
|
||||
this.credentialRecordListView = new mRemoteNG.UI.Controls.CredentialRecordListView();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.msAdd = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msRemove = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msEdit = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
this.buttonAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonAdd.Image = global::mRemoteNG.Resources.key_add;
|
||||
this.buttonAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonAdd.Location = new System.Drawing.Point(71, 241);
|
||||
this.buttonAdd.Name = "buttonAdd";
|
||||
this.buttonAdd.Size = new System.Drawing.Size(99, 32);
|
||||
this.buttonAdd.TabIndex = 3;
|
||||
this.buttonAdd.Text = "Add";
|
||||
this.buttonAdd.UseVisualStyleBackColor = true;
|
||||
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
||||
//
|
||||
// buttonRemove
|
||||
//
|
||||
this.buttonRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonRemove.Enabled = false;
|
||||
this.buttonRemove.Image = global::mRemoteNG.Resources.key_delete;
|
||||
this.buttonRemove.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonRemove.Location = new System.Drawing.Point(281, 241);
|
||||
this.buttonRemove.Name = "buttonRemove";
|
||||
this.buttonRemove.Size = new System.Drawing.Size(99, 32);
|
||||
this.buttonRemove.TabIndex = 4;
|
||||
this.buttonRemove.Text = "Remove";
|
||||
this.buttonRemove.UseVisualStyleBackColor = true;
|
||||
this.buttonRemove.Click += new System.EventHandler(this.buttonRemove_Click);
|
||||
//
|
||||
// buttonEdit
|
||||
//
|
||||
this.buttonEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonEdit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonEdit.Location = new System.Drawing.Point(176, 241);
|
||||
this.buttonEdit.Name = "buttonEdit";
|
||||
this.buttonEdit.Size = new System.Drawing.Size(99, 32);
|
||||
this.buttonEdit.TabIndex = 5;
|
||||
this.buttonEdit.Text = "Edit";
|
||||
this.buttonEdit.UseVisualStyleBackColor = true;
|
||||
this.buttonEdit.Click += new System.EventHandler(this.buttonEdit_Click);
|
||||
//
|
||||
// credentialRecordListView
|
||||
//
|
||||
this.credentialRecordListView.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.credentialRecordListView.Location = new System.Drawing.Point(0, 0);
|
||||
this.credentialRecordListView.CredentialRepositoryList = credentialRepositoryList1;
|
||||
this.credentialRecordListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.credentialRecordListView.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.credentialRecordListView.Location = new System.Drawing.Point(0, 24);
|
||||
this.credentialRecordListView.Name = "credentialRecordListView";
|
||||
this.credentialRecordListView.Size = new System.Drawing.Size(383, 235);
|
||||
this.credentialRecordListView.Size = new System.Drawing.Size(383, 252);
|
||||
this.credentialRecordListView.TabIndex = 6;
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.msAdd,
|
||||
this.msRemove,
|
||||
this.msEdit});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.ShowItemToolTips = true;
|
||||
this.menuStrip1.Size = new System.Drawing.Size(383, 24);
|
||||
this.menuStrip1.TabIndex = 12;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// msAdd
|
||||
//
|
||||
this.msAdd.AutoToolTip = true;
|
||||
this.msAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msAdd.Image = global::mRemoteNG.Resources.key_add;
|
||||
this.msAdd.Name = "msAdd";
|
||||
this.msAdd.Size = new System.Drawing.Size(28, 20);
|
||||
this.msAdd.Text = "Add Record";
|
||||
this.msAdd.Click += new System.EventHandler(this.msAdd_Click);
|
||||
//
|
||||
// msRemove
|
||||
//
|
||||
this.msRemove.AutoToolTip = true;
|
||||
this.msRemove.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msRemove.Image = global::mRemoteNG.Resources.key_delete;
|
||||
this.msRemove.Name = "msRemove";
|
||||
this.msRemove.Size = new System.Drawing.Size(28, 20);
|
||||
this.msRemove.Text = "Remove Record";
|
||||
this.msRemove.Click += new System.EventHandler(this.msRemove_Click);
|
||||
//
|
||||
// msEdit
|
||||
//
|
||||
this.msEdit.AutoToolTip = true;
|
||||
this.msEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msEdit.Image = global::mRemoteNG.Resources.cog;
|
||||
this.msEdit.Name = "msEdit";
|
||||
this.msEdit.Size = new System.Drawing.Size(28, 20);
|
||||
this.msEdit.Text = "Edit Record";
|
||||
this.msEdit.Click += new System.EventHandler(this.msEdit_Click);
|
||||
//
|
||||
// CredentialListPage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.credentialRecordListView);
|
||||
this.Controls.Add(this.buttonEdit);
|
||||
this.Controls.Add(this.buttonAdd);
|
||||
this.Controls.Add(this.buttonRemove);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Name = "CredentialListPage";
|
||||
this.Size = new System.Drawing.Size(383, 276);
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private Controls.Base.NGButton buttonAdd;
|
||||
private Controls.Base.NGButton buttonRemove;
|
||||
private Controls.Base.NGButton buttonEdit;
|
||||
private Controls.CredentialRecordListView credentialRecordListView;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem msAdd;
|
||||
private System.Windows.Forms.ToolStripMenuItem msEdit;
|
||||
private System.Windows.Forms.ToolStripMenuItem msRemove;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,8 +36,9 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
private void ApplyLanguage()
|
||||
{
|
||||
Text = Language.strCredentialManager;
|
||||
buttonAdd.Text = Language.strAdd;
|
||||
buttonRemove.Text = Language.strRemove;
|
||||
msAdd.Text = Language.strAddRecord;
|
||||
msRemove.Text = Language.strRemoveRecord;
|
||||
msEdit.Text = Language.strEditRecord;
|
||||
}
|
||||
|
||||
private void RemoveSelectedCredential()
|
||||
@@ -92,17 +93,17 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
RaiseNextPageEvent();
|
||||
}
|
||||
|
||||
private void buttonAdd_Click(object sender, EventArgs e)
|
||||
private void msAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
AddCredential();
|
||||
}
|
||||
|
||||
private void buttonEdit_Click(object sender, EventArgs e)
|
||||
private void msEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
EditCredential(credentialRecordListView.SelectedObject);
|
||||
}
|
||||
|
||||
private void buttonRemove_Click(object sender, EventArgs e)
|
||||
private void msRemove_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (credentialRecordListView.MultipleObjectsSelected)
|
||||
RemoveSelectedCredentials();
|
||||
@@ -145,7 +146,7 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
|
||||
private void ObjectListView1OnSelectionChanged(object sender, EventArgs eventArgs)
|
||||
{
|
||||
buttonRemove.Enabled = credentialRecordListView.SelectedObjects.Any();
|
||||
msRemove.Enabled = credentialRecordListView.SelectedObjects.Any();
|
||||
}
|
||||
|
||||
public event EventHandler CredentialsChanged;
|
||||
|
||||
@@ -117,4 +117,7 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -17,70 +17,110 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CredentialManagerForm));
|
||||
this.panelMain = new System.Windows.Forms.Panel();
|
||||
this.pnlBottom = new System.Windows.Forms.Panel();
|
||||
this.ngLabel1 = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.msAddRepo = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msRemoveRepo = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msToggleUnlock = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msEditRepo = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.splitContainer = new System.Windows.Forms.SplitContainer();
|
||||
this.olvCredRepos = new mRemoteNG.UI.Controls.Base.NGListView();
|
||||
this.colCredRepoTitle = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.btnEditRepo = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.btnToggleUnlock = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.btnRemoveRepo = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.btnAddRepo = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.pnlBottom = new System.Windows.Forms.Panel();
|
||||
this.buttonClose = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.pnlBottom.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
|
||||
this.splitContainer.Panel1.SuspendLayout();
|
||||
this.splitContainer.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.olvCredRepos)).BeginInit();
|
||||
this.pnlBottom.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panelMain
|
||||
// menuStrip1
|
||||
//
|
||||
this.panelMain.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.panelMain.Location = new System.Drawing.Point(152, 0);
|
||||
this.panelMain.Name = "panelMain";
|
||||
this.panelMain.Size = new System.Drawing.Size(555, 375);
|
||||
this.panelMain.TabIndex = 4;
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.msAddRepo,
|
||||
this.msRemoveRepo,
|
||||
this.msToggleUnlock,
|
||||
this.msEditRepo});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.ShowItemToolTips = true;
|
||||
this.menuStrip1.Size = new System.Drawing.Size(307, 24);
|
||||
this.menuStrip1.TabIndex = 7;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// pnlBottom
|
||||
// msAddRepo
|
||||
//
|
||||
this.pnlBottom.Controls.Add(this.btnEditRepo);
|
||||
this.pnlBottom.Controls.Add(this.btnToggleUnlock);
|
||||
this.pnlBottom.Controls.Add(this.btnRemoveRepo);
|
||||
this.pnlBottom.Controls.Add(this.btnAddRepo);
|
||||
this.pnlBottom.Controls.Add(this.buttonClose);
|
||||
this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.pnlBottom.Location = new System.Drawing.Point(0, 374);
|
||||
this.pnlBottom.Name = "pnlBottom";
|
||||
this.pnlBottom.Size = new System.Drawing.Size(707, 50);
|
||||
this.pnlBottom.TabIndex = 6;
|
||||
this.msAddRepo.AutoToolTip = true;
|
||||
this.msAddRepo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msAddRepo.Image = global::mRemoteNG.Resources.Connection_Add;
|
||||
this.msAddRepo.Name = "msAddRepo";
|
||||
this.msAddRepo.Size = new System.Drawing.Size(28, 20);
|
||||
this.msAddRepo.Text = "Add Repository";
|
||||
this.msAddRepo.Click += new System.EventHandler(this.msAddRepo_Click);
|
||||
//
|
||||
// ngLabel1
|
||||
// msRemoveRepo
|
||||
//
|
||||
this.ngLabel1.AutoSize = true;
|
||||
this.ngLabel1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ngLabel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.ngLabel1.Name = "ngLabel1";
|
||||
this.ngLabel1.Size = new System.Drawing.Size(71, 13);
|
||||
this.ngLabel1.TabIndex = 7;
|
||||
this.ngLabel1.Text = "Repositories";
|
||||
this.msRemoveRepo.AutoToolTip = true;
|
||||
this.msRemoveRepo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msRemoveRepo.Image = global::mRemoteNG.Resources.Delete;
|
||||
this.msRemoveRepo.Name = "msRemoveRepo";
|
||||
this.msRemoveRepo.Size = new System.Drawing.Size(28, 20);
|
||||
this.msRemoveRepo.Text = "Delete Repository";
|
||||
this.msRemoveRepo.Click += new System.EventHandler(this.msRemoveRepo_Click);
|
||||
//
|
||||
// msToggleUnlock
|
||||
//
|
||||
this.msToggleUnlock.AutoToolTip = true;
|
||||
this.msToggleUnlock.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msToggleUnlock.Image = global::mRemoteNG.Resources.folder_key;
|
||||
this.msToggleUnlock.Name = "msToggleUnlock";
|
||||
this.msToggleUnlock.Size = new System.Drawing.Size(28, 20);
|
||||
this.msToggleUnlock.Text = "Lock Repository";
|
||||
this.msToggleUnlock.Click += new System.EventHandler(this.msToggleUnlock_Click);
|
||||
//
|
||||
// msEditRepo
|
||||
//
|
||||
this.msEditRepo.AutoToolTip = true;
|
||||
this.msEditRepo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msEditRepo.Image = global::mRemoteNG.Resources.Properties;
|
||||
this.msEditRepo.Name = "msEditRepo";
|
||||
this.msEditRepo.Size = new System.Drawing.Size(28, 20);
|
||||
this.msEditRepo.Text = "Edit Repository";
|
||||
this.msEditRepo.Click += new System.EventHandler(this.msEditRepo_Click);
|
||||
//
|
||||
// splitContainer
|
||||
//
|
||||
this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer.Name = "splitContainer";
|
||||
//
|
||||
// splitContainer.Panel1
|
||||
//
|
||||
this.splitContainer.Panel1.Controls.Add(this.olvCredRepos);
|
||||
this.splitContainer.Panel1.Controls.Add(this.menuStrip1);
|
||||
this.splitContainer.Size = new System.Drawing.Size(925, 442);
|
||||
this.splitContainer.SplitterDistance = 307;
|
||||
this.splitContainer.TabIndex = 8;
|
||||
//
|
||||
// olvCredRepos
|
||||
//
|
||||
this.olvCredRepos.AllColumns.Add(this.colCredRepoTitle);
|
||||
this.olvCredRepos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.olvCredRepos.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.olvCredRepos.CellEditUseWholeCell = false;
|
||||
this.olvCredRepos.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.colCredRepoTitle});
|
||||
this.olvCredRepos.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.olvCredRepos.DecorateLines = true;
|
||||
this.olvCredRepos.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.olvCredRepos.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.olvCredRepos.FullRowSelect = true;
|
||||
this.olvCredRepos.HasCollapsibleGroups = false;
|
||||
this.olvCredRepos.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||||
this.olvCredRepos.HideSelection = false;
|
||||
this.olvCredRepos.IsSearchOnSortColumn = false;
|
||||
this.olvCredRepos.Location = new System.Drawing.Point(0, 16);
|
||||
this.olvCredRepos.Location = new System.Drawing.Point(0, 24);
|
||||
this.olvCredRepos.MultiSelect = false;
|
||||
this.olvCredRepos.Name = "olvCredRepos";
|
||||
this.olvCredRepos.RowHeight = 30;
|
||||
@@ -88,7 +128,7 @@
|
||||
this.olvCredRepos.ShowFilterMenuOnRightClick = false;
|
||||
this.olvCredRepos.ShowGroups = false;
|
||||
this.olvCredRepos.ShowHeaderInAllViews = false;
|
||||
this.olvCredRepos.Size = new System.Drawing.Size(152, 352);
|
||||
this.olvCredRepos.Size = new System.Drawing.Size(307, 418);
|
||||
this.olvCredRepos.TabIndex = 5;
|
||||
this.olvCredRepos.UseCompatibleStateImageBehavior = false;
|
||||
this.olvCredRepos.View = System.Windows.Forms.View.Details;
|
||||
@@ -107,58 +147,23 @@
|
||||
this.colCredRepoTitle.Text = "Repositories";
|
||||
this.colCredRepoTitle.Width = 120;
|
||||
//
|
||||
// btnEditRepo
|
||||
// pnlBottom
|
||||
//
|
||||
this.btnEditRepo._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.btnEditRepo.Location = new System.Drawing.Point(71, 24);
|
||||
this.btnEditRepo.Name = "btnEditRepo";
|
||||
this.btnEditRepo.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnEditRepo.TabIndex = 5;
|
||||
this.btnEditRepo.Text = "Edit";
|
||||
this.btnEditRepo.UseVisualStyleBackColor = true;
|
||||
this.btnEditRepo.Click += new System.EventHandler(this.btnEditRepo_Click);
|
||||
//
|
||||
// btnToggleUnlock
|
||||
//
|
||||
this.btnToggleUnlock._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.btnToggleUnlock.Location = new System.Drawing.Point(0, 24);
|
||||
this.btnToggleUnlock.Name = "btnToggleUnlock";
|
||||
this.btnToggleUnlock.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnToggleUnlock.TabIndex = 4;
|
||||
this.btnToggleUnlock.Text = "Unlock";
|
||||
this.btnToggleUnlock.UseVisualStyleBackColor = true;
|
||||
this.btnToggleUnlock.Click += new System.EventHandler(this.btnToggleUnlock_Click);
|
||||
//
|
||||
// btnRemoveRepo
|
||||
//
|
||||
this.btnRemoveRepo._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.btnRemoveRepo.Location = new System.Drawing.Point(71, 0);
|
||||
this.btnRemoveRepo.Name = "btnRemoveRepo";
|
||||
this.btnRemoveRepo.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnRemoveRepo.TabIndex = 3;
|
||||
this.btnRemoveRepo.Text = "Remove";
|
||||
this.btnRemoveRepo.UseVisualStyleBackColor = true;
|
||||
this.btnRemoveRepo.Click += new System.EventHandler(this.btnRemoveRepo_Click);
|
||||
//
|
||||
// btnAddRepo
|
||||
//
|
||||
this.btnAddRepo._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.btnAddRepo.Location = new System.Drawing.Point(0, 0);
|
||||
this.btnAddRepo.Name = "btnAddRepo";
|
||||
this.btnAddRepo.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnAddRepo.TabIndex = 2;
|
||||
this.btnAddRepo.Text = "Add";
|
||||
this.btnAddRepo.UseVisualStyleBackColor = true;
|
||||
this.btnAddRepo.Click += new System.EventHandler(this.btnAddRepo_Click);
|
||||
this.pnlBottom.Controls.Add(this.buttonClose);
|
||||
this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.pnlBottom.Location = new System.Drawing.Point(0, 442);
|
||||
this.pnlBottom.Name = "pnlBottom";
|
||||
this.pnlBottom.Size = new System.Drawing.Size(925, 35);
|
||||
this.pnlBottom.TabIndex = 9;
|
||||
//
|
||||
// buttonClose
|
||||
//
|
||||
this.buttonClose._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.buttonClose.Location = new System.Drawing.Point(620, 15);
|
||||
this.buttonClose.Location = new System.Drawing.Point(816, 6);
|
||||
this.buttonClose.Name = "buttonClose";
|
||||
this.buttonClose.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonClose.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonClose.TabIndex = 1;
|
||||
this.buttonClose.Text = "Close";
|
||||
this.buttonClose.UseVisualStyleBackColor = true;
|
||||
@@ -168,33 +173,39 @@
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(707, 424);
|
||||
this.Controls.Add(this.ngLabel1);
|
||||
this.Controls.Add(this.olvCredRepos);
|
||||
this.Controls.Add(this.panelMain);
|
||||
this.ClientSize = new System.Drawing.Size(925, 477);
|
||||
this.Controls.Add(this.splitContainer);
|
||||
this.Controls.Add(this.pnlBottom);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "CredentialManagerForm";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
||||
this.Text = "Credential Manager";
|
||||
this.pnlBottom.ResumeLayout(false);
|
||||
this.TopMost = true;
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.splitContainer.Panel1.ResumeLayout(false);
|
||||
this.splitContainer.Panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
|
||||
this.splitContainer.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.olvCredRepos)).EndInit();
|
||||
this.pnlBottom.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Panel panelMain;
|
||||
private Controls.Base.NGListView olvCredRepos;
|
||||
private System.Windows.Forms.Panel pnlBottom;
|
||||
private Controls.Base.NGButton buttonClose;
|
||||
private BrightIdeasSoftware.OLVColumn colCredRepoTitle;
|
||||
private Controls.Base.NGButton btnEditRepo;
|
||||
private Controls.Base.NGButton btnToggleUnlock;
|
||||
private Controls.Base.NGButton btnRemoveRepo;
|
||||
private Controls.Base.NGButton btnAddRepo;
|
||||
private Controls.Base.NGLabel ngLabel1;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer;
|
||||
private System.Windows.Forms.ToolStripMenuItem msAddRepo;
|
||||
private System.Windows.Forms.ToolStripMenuItem msRemoveRepo;
|
||||
private System.Windows.Forms.ToolStripMenuItem msToggleUnlock;
|
||||
private System.Windows.Forms.ToolStripMenuItem msEditRepo;
|
||||
private System.Windows.Forms.Panel pnlBottom;
|
||||
}
|
||||
}
|
||||
@@ -51,6 +51,10 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
{
|
||||
Text = Language.strCredentialManager;
|
||||
buttonClose.Text = Language.strButtonClose;
|
||||
msAddRepo.Text = Language.strAddRepo;
|
||||
msEditRepo.Text = Language.strEditRepo;
|
||||
msRemoveRepo.Text = Language.strRemoveRepo;
|
||||
msToggleUnlock.Text = Language.strLockRepo;
|
||||
}
|
||||
|
||||
#region Cred Repo Listview
|
||||
@@ -130,8 +134,8 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
if (page == null)
|
||||
return;
|
||||
|
||||
panelMain.Controls.Clear();
|
||||
panelMain.Controls.Add(page);
|
||||
splitContainer.Panel2.Controls.Clear();
|
||||
splitContainer.Panel2.Controls.Add(page);
|
||||
page.Dock = DockStyle.Fill;
|
||||
}
|
||||
|
||||
@@ -149,7 +153,7 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
Close();
|
||||
}
|
||||
|
||||
private void btnAddRepo_Click(object sender, EventArgs e)
|
||||
private void msAddRepo_Click(object sender, EventArgs e)
|
||||
{
|
||||
var pageWorkflowController = new PageWorkflowController(ShowPage, _credentialListPage);
|
||||
var repoTypeSelection = new CredentialRepositoryTypeSelectionPage(
|
||||
@@ -160,7 +164,7 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
ShowPage(repoTypeSelection);
|
||||
}
|
||||
|
||||
private void btnRemoveRepo_Click(object sender, EventArgs e)
|
||||
private void msRemoveRepo_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!(olvCredRepos.SelectedObject is ICredentialRepository selectedRepository))
|
||||
return;
|
||||
@@ -168,12 +172,12 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
_credentialService.RemoveRepository(selectedRepository);
|
||||
}
|
||||
|
||||
private void btnToggleUnlock_Click(object sender, EventArgs e)
|
||||
private void msToggleUnlock_Click(object sender, EventArgs e)
|
||||
{
|
||||
ToggleRepositoryLockStatus(olvCredRepos.SelectedObject as ICredentialRepository);
|
||||
}
|
||||
|
||||
private void btnEditRepo_Click(object sender, EventArgs e)
|
||||
private void msEditRepo_Click(object sender, EventArgs e)
|
||||
{
|
||||
EditRepository(olvCredRepos?.SelectedObject as ICredentialRepository);
|
||||
}
|
||||
@@ -211,12 +215,13 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
var selectedRepository = olvCredRepos.SelectedObject as ICredentialRepository;
|
||||
var repoIsSelected = selectedRepository != null;
|
||||
|
||||
btnRemoveRepo.Enabled = repoIsSelected;
|
||||
btnEditRepo.Enabled = repoIsSelected;
|
||||
btnToggleUnlock.Enabled = repoIsSelected;
|
||||
|
||||
msRemoveRepo.Enabled = repoIsSelected;
|
||||
msEditRepo.Enabled = repoIsSelected;
|
||||
msToggleUnlock.Enabled = repoIsSelected;
|
||||
|
||||
if (repoIsSelected)
|
||||
btnToggleUnlock.Text = selectedRepository.IsLoaded ? "Lock" : "Unlock";
|
||||
msToggleUnlock.Text = selectedRepository.IsLoaded ? Language.strLockRepo : Language.strUnlockRepo;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -117,6 +117,9 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
||||
@@ -30,101 +30,98 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
CredentialRepositoryList credentialRepositoryList1 = new CredentialRepositoryList();
|
||||
this.buttonAdd = new Controls.Base.NGButton();
|
||||
this.buttonRemove = new Controls.Base.NGButton();
|
||||
this.buttonEdit = new Controls.Base.NGButton();
|
||||
mRemoteNG.Credential.Repositories.CredentialRepositoryList credentialRepositoryList1 = new mRemoteNG.Credential.Repositories.CredentialRepositoryList();
|
||||
this.credentialRepositoryListView = new mRemoteNG.UI.Controls.CredentialRepositoryListView();
|
||||
this.buttonToggleLoad = new Controls.Base.NGButton();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.msToggleLoad = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msAdd = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msEdit = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msRemove = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonAdd
|
||||
//
|
||||
this.buttonAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonAdd.Image = global::mRemoteNG.Resources.key_add;
|
||||
this.buttonAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonAdd.Location = new System.Drawing.Point(105, 237);
|
||||
this.buttonAdd.Name = "buttonAdd";
|
||||
this.buttonAdd.Size = new System.Drawing.Size(99, 32);
|
||||
this.buttonAdd.TabIndex = 5;
|
||||
this.buttonAdd.Text = "Add";
|
||||
this.buttonAdd.UseVisualStyleBackColor = true;
|
||||
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
||||
//
|
||||
// buttonRemove
|
||||
//
|
||||
this.buttonRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonRemove.Enabled = false;
|
||||
this.buttonRemove.Image = global::mRemoteNG.Resources.key_delete;
|
||||
this.buttonRemove.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonRemove.Location = new System.Drawing.Point(315, 237);
|
||||
this.buttonRemove.Name = "buttonRemove";
|
||||
this.buttonRemove.Size = new System.Drawing.Size(99, 32);
|
||||
this.buttonRemove.TabIndex = 6;
|
||||
this.buttonRemove.Text = "Remove";
|
||||
this.buttonRemove.UseVisualStyleBackColor = true;
|
||||
this.buttonRemove.Click += new System.EventHandler(this.buttonRemove_Click);
|
||||
//
|
||||
// buttonEdit
|
||||
//
|
||||
this.buttonEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonEdit.Enabled = false;
|
||||
this.buttonEdit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonEdit.Location = new System.Drawing.Point(210, 237);
|
||||
this.buttonEdit.Name = "buttonEdit";
|
||||
this.buttonEdit.Size = new System.Drawing.Size(99, 32);
|
||||
this.buttonEdit.TabIndex = 8;
|
||||
this.buttonEdit.Text = "Edit";
|
||||
this.buttonEdit.UseVisualStyleBackColor = true;
|
||||
this.buttonEdit.Click += new System.EventHandler(this.buttonEdit_Click);
|
||||
//
|
||||
// credentialRepositoryListView
|
||||
//
|
||||
this.credentialRepositoryListView.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.credentialRepositoryListView.CredentialRepositoryList = credentialRepositoryList1;
|
||||
this.credentialRepositoryListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.credentialRepositoryListView.DoubleClickHandler = null;
|
||||
this.credentialRepositoryListView.Location = new System.Drawing.Point(0, 0);
|
||||
this.credentialRepositoryListView.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.credentialRepositoryListView.Location = new System.Drawing.Point(0, 24);
|
||||
this.credentialRepositoryListView.Name = "credentialRepositoryListView";
|
||||
this.credentialRepositoryListView.RepositoryFilter = null;
|
||||
this.credentialRepositoryListView.Size = new System.Drawing.Size(417, 231);
|
||||
this.credentialRepositoryListView.Size = new System.Drawing.Size(417, 248);
|
||||
this.credentialRepositoryListView.TabIndex = 9;
|
||||
//
|
||||
// buttonToggleLoad
|
||||
// menuStrip1
|
||||
//
|
||||
this.buttonToggleLoad.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonToggleLoad.Enabled = false;
|
||||
this.buttonToggleLoad.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonToggleLoad.Location = new System.Drawing.Point(3, 237);
|
||||
this.buttonToggleLoad.Name = "buttonToggleLoad";
|
||||
this.buttonToggleLoad.Size = new System.Drawing.Size(99, 32);
|
||||
this.buttonToggleLoad.TabIndex = 10;
|
||||
this.buttonToggleLoad.Text = "Load";
|
||||
this.buttonToggleLoad.UseVisualStyleBackColor = true;
|
||||
this.buttonToggleLoad.Click += new System.EventHandler(this.buttonToggleLoad_Click);
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.msToggleLoad,
|
||||
this.msAdd,
|
||||
this.msEdit,
|
||||
this.msRemove});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(417, 24);
|
||||
this.menuStrip1.TabIndex = 11;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// msToggleLoad
|
||||
//
|
||||
this.msToggleLoad.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.msToggleLoad.Image = global::mRemoteNG.Resources.Connection_Add;
|
||||
this.msToggleLoad.Name = "msToggleLoad";
|
||||
this.msToggleLoad.Size = new System.Drawing.Size(97, 20);
|
||||
this.msToggleLoad.Text = "msToggleLoad";
|
||||
this.msToggleLoad.Click += new System.EventHandler(this.buttonToggleLoad_Click);
|
||||
//
|
||||
// msAdd
|
||||
//
|
||||
this.msAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
||||
this.msAdd.Image = global::mRemoteNG.Resources.Delete;
|
||||
this.msAdd.Name = "msAdd";
|
||||
this.msAdd.Size = new System.Drawing.Size(57, 20);
|
||||
this.msAdd.Text = "msAdd";
|
||||
this.msAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
||||
//
|
||||
// msEdit
|
||||
//
|
||||
this.msEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msEdit.Image = global::mRemoteNG.Resources.cog;
|
||||
this.msEdit.Name = "msEdit";
|
||||
this.msEdit.Size = new System.Drawing.Size(28, 20);
|
||||
this.msEdit.Text = "msEdit";
|
||||
this.msEdit.Click += new System.EventHandler(this.buttonEdit_Click);
|
||||
//
|
||||
// msRemove
|
||||
//
|
||||
this.msRemove.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.msRemove.Image = global::mRemoteNG.Resources.Delete;
|
||||
this.msRemove.Name = "msRemove";
|
||||
this.msRemove.Size = new System.Drawing.Size(28, 20);
|
||||
this.msRemove.Text = "msRemove";
|
||||
this.msRemove.Click += new System.EventHandler(this.buttonRemove_Click);
|
||||
//
|
||||
// CredentialRepositoriesPage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.buttonToggleLoad);
|
||||
this.Controls.Add(this.credentialRepositoryListView);
|
||||
this.Controls.Add(this.buttonEdit);
|
||||
this.Controls.Add(this.buttonAdd);
|
||||
this.Controls.Add(this.buttonRemove);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Name = "CredentialRepositoriesPage";
|
||||
this.Size = new System.Drawing.Size(417, 272);
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Controls.Base.NGButton buttonAdd;
|
||||
private Controls.Base.NGButton buttonRemove;
|
||||
private Controls.Base.NGButton buttonEdit;
|
||||
private Controls.CredentialRepositoryListView credentialRepositoryListView;
|
||||
private Controls.Base.NGButton buttonToggleLoad;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem msToggleLoad;
|
||||
private System.Windows.Forms.ToolStripMenuItem msAdd;
|
||||
private System.Windows.Forms.ToolStripMenuItem msEdit;
|
||||
private System.Windows.Forms.ToolStripMenuItem msRemove;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,9 +40,9 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
private void UpdateUi()
|
||||
{
|
||||
var selectedRepository = credentialRepositoryListView.SelectedRepository;
|
||||
buttonRemove.Enabled = selectedRepository != null;
|
||||
buttonEdit.Enabled = selectedRepository != null;
|
||||
buttonToggleLoad.Enabled = selectedRepository != null;
|
||||
msRemove.Enabled = selectedRepository != null;
|
||||
msEdit.Enabled = selectedRepository != null;
|
||||
msToggleLoad.Enabled = selectedRepository != null;
|
||||
UpdateLoadToggleButton(selectedRepository);
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
if (selectedRepository == null)
|
||||
return;
|
||||
|
||||
buttonToggleLoad.Text = selectedRepository.IsLoaded ? "Unload" : "Load";
|
||||
msToggleLoad.Text = selectedRepository.IsLoaded ? Language.Unlock : Language.Lock;
|
||||
}
|
||||
|
||||
private void buttonToggleLoad_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -117,4 +117,7 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -29,21 +29,22 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.buttonContinue = new Controls.Base.NGButton();
|
||||
this.objectListView = new Controls.Base.NGListView();
|
||||
this.buttonContinue = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.objectListView = new mRemoteNG.UI.Controls.Base.NGListView();
|
||||
this.olvColumnName = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.imageListLarge = new System.Windows.Forms.ImageList(this.components);
|
||||
this.buttonBack = new Controls.Base.NGButton();
|
||||
this.buttonBack = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectListView)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonContinue
|
||||
//
|
||||
this.buttonContinue._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonContinue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonContinue.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonContinue.Location = new System.Drawing.Point(333, 312);
|
||||
this.buttonContinue.Location = new System.Drawing.Point(314, 305);
|
||||
this.buttonContinue.Name = "buttonContinue";
|
||||
this.buttonContinue.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonContinue.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonContinue.TabIndex = 4;
|
||||
this.buttonContinue.Text = "Continue";
|
||||
this.buttonContinue.UseVisualStyleBackColor = true;
|
||||
@@ -55,12 +56,14 @@
|
||||
this.objectListView.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.objectListView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.objectListView.CellEditUseWholeCell = false;
|
||||
this.objectListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.olvColumnName});
|
||||
this.objectListView.CopySelectionOnControlC = false;
|
||||
this.objectListView.CopySelectionOnControlCUsesDragSource = false;
|
||||
this.objectListView.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.objectListView.DecorateLines = true;
|
||||
this.objectListView.FullRowSelect = true;
|
||||
this.objectListView.HasCollapsibleGroups = false;
|
||||
this.objectListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||||
@@ -98,24 +101,25 @@
|
||||
//
|
||||
// buttonBack
|
||||
//
|
||||
this.buttonBack._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonBack.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.buttonBack.Location = new System.Drawing.Point(252, 312);
|
||||
this.buttonBack.Location = new System.Drawing.Point(208, 305);
|
||||
this.buttonBack.Name = "buttonBack";
|
||||
this.buttonBack.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonBack.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonBack.TabIndex = 6;
|
||||
this.buttonBack.Text = "Back";
|
||||
this.buttonBack.UseVisualStyleBackColor = true;
|
||||
this.buttonBack.Click += new System.EventHandler(this.buttonBack_Click);
|
||||
//
|
||||
// CredentialRepositorySelectionPage
|
||||
// CredentialRepositoryTypeSelectionPage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.buttonBack);
|
||||
this.Controls.Add(this.objectListView);
|
||||
this.Controls.Add(this.buttonContinue);
|
||||
this.Name = "CredentialRepositorySelectionPage";
|
||||
this.Name = "CredentialRepositoryTypeSelectionPage";
|
||||
this.Size = new System.Drawing.Size(422, 338);
|
||||
((System.ComponentModel.ISupportInitialize)(this.objectListView)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -26,10 +26,16 @@ namespace mRemoteNG.UI.Forms.CredentialManager
|
||||
_pageWorkflowController = pageWorkflowController.ThrowIfNull(nameof(pageWorkflowController));
|
||||
InitializeComponent();
|
||||
ApplyTheme();
|
||||
ApplyLanguage();
|
||||
SetupListView(selectionTargets);
|
||||
}
|
||||
|
||||
|
||||
private void ApplyLanguage()
|
||||
{
|
||||
buttonBack.Text = Language.strBack;
|
||||
buttonContinue.Text = Language.strContinue;
|
||||
}
|
||||
|
||||
private void SetupListView(IEnumerable<ISelectionTarget<ICredentialRepositoryConfig>> selectionTargets)
|
||||
{
|
||||
olvColumnName.ImageGetter = ImageGetter;
|
||||
|
||||
@@ -41,29 +41,35 @@
|
||||
this.buttonNewFile = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.buttonOpenFile = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.tabPageHarvestedCreds = new System.Windows.Forms.TabPage();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btnCredsBack = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.btnCredsContinue = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.olvFoundCredentials = new mRemoteNG.UI.Controls.Base.NGListView();
|
||||
this.colTitle = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.colUsername = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.colDomain = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.colPassword = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
|
||||
this.lblCredsFound = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.btnCredsBack = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.btnCredsContinue = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.tabPageSaveRepo = new System.Windows.Forms.TabPage();
|
||||
this.textBoxConfConPathTab2 = new mRemoteNG.UI.Controls.Base.NGTextBox();
|
||||
this.buttonNewRepoPathBrowse = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.labelWhereToSaveCredFile = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.textBoxCredRepoPath = new mRemoteNG.UI.Controls.Base.NGTextBox();
|
||||
this.buttonExecuteUpgrade = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.labelSetPassword = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.gbSetPassword = new mRemoteNG.UI.Controls.Base.NGGroupBox();
|
||||
this.newRepositoryPasswordEntry = new mRemoteNG.UI.Controls.NewPasswordWithVerification();
|
||||
this.gbWhereToSaveCredFile = new mRemoteNG.UI.Controls.Base.NGGroupBox();
|
||||
this.buttonNewRepoPathBrowse = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.textBoxCredRepoPath = new mRemoteNG.UI.Controls.Base.NGTextBox();
|
||||
this.textBoxConfConPathTab2 = new mRemoteNG.UI.Controls.Base.NGTextBox();
|
||||
this.buttonExecuteUpgrade = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.labelConfConsPathHeaderOnTab2 = new mRemoteNG.UI.Controls.Base.NGLabel();
|
||||
this.buttonSaveRepoBack = new mRemoteNG.UI.Controls.Base.NGButton();
|
||||
this.tabControl.SuspendLayout();
|
||||
this.tabPageWelcome.SuspendLayout();
|
||||
this.tabPageHarvestedCreds.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.olvFoundCredentials)).BeginInit();
|
||||
this.tabPageSaveRepo.SuspendLayout();
|
||||
this.gbSetPassword.SuspendLayout();
|
||||
this.gbWhereToSaveCredFile.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// newCredRepoPathDialog
|
||||
@@ -86,7 +92,7 @@
|
||||
this.tabControl.Location = new System.Drawing.Point(0, 0);
|
||||
this.tabControl.Name = "tabControl";
|
||||
this.tabControl.SelectedIndex = 0;
|
||||
this.tabControl.Size = new System.Drawing.Size(617, 402);
|
||||
this.tabControl.Size = new System.Drawing.Size(602, 405);
|
||||
this.tabControl.TabIndex = 5;
|
||||
//
|
||||
// tabPageWelcome
|
||||
@@ -102,7 +108,7 @@
|
||||
this.tabPageWelcome.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPageWelcome.Name = "tabPageWelcome";
|
||||
this.tabPageWelcome.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPageWelcome.Size = new System.Drawing.Size(609, 374);
|
||||
this.tabPageWelcome.Size = new System.Drawing.Size(594, 377);
|
||||
this.tabPageWelcome.TabIndex = 0;
|
||||
this.tabPageWelcome.Text = "welcomePage";
|
||||
//
|
||||
@@ -110,17 +116,17 @@
|
||||
//
|
||||
this.textBoxConfConPathTab1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxConfConPathTab1.Location = new System.Drawing.Point(30, 177);
|
||||
this.textBoxConfConPathTab1.Location = new System.Drawing.Point(9, 150);
|
||||
this.textBoxConfConPathTab1.Multiline = true;
|
||||
this.textBoxConfConPathTab1.Name = "textBoxConfConPathTab1";
|
||||
this.textBoxConfConPathTab1.ReadOnly = true;
|
||||
this.textBoxConfConPathTab1.Size = new System.Drawing.Size(551, 55);
|
||||
this.textBoxConfConPathTab1.Size = new System.Drawing.Size(577, 55);
|
||||
this.textBoxConfConPathTab1.TabIndex = 6;
|
||||
//
|
||||
// labelConfConsPathHeaderOnTab1
|
||||
//
|
||||
this.labelConfConsPathHeaderOnTab1.AutoSize = true;
|
||||
this.labelConfConsPathHeaderOnTab1.Location = new System.Drawing.Point(10, 161);
|
||||
this.labelConfConsPathHeaderOnTab1.Location = new System.Drawing.Point(6, 134);
|
||||
this.labelConfConsPathHeaderOnTab1.Name = "labelConfConsPathHeaderOnTab1";
|
||||
this.labelConfConsPathHeaderOnTab1.Size = new System.Drawing.Size(104, 13);
|
||||
this.labelConfConsPathHeaderOnTab1.TabIndex = 5;
|
||||
@@ -130,7 +136,7 @@
|
||||
//
|
||||
this.buttonExit._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.buttonExit.Location = new System.Drawing.Point(190, 343);
|
||||
this.buttonExit.Location = new System.Drawing.Point(190, 339);
|
||||
this.buttonExit.Name = "buttonExit";
|
||||
this.buttonExit.Size = new System.Drawing.Size(212, 23);
|
||||
this.buttonExit.TabIndex = 4;
|
||||
@@ -152,7 +158,7 @@
|
||||
//
|
||||
this.buttonBeginUpgrade._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonBeginUpgrade.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.buttonBeginUpgrade.Location = new System.Drawing.Point(190, 256);
|
||||
this.buttonBeginUpgrade.Location = new System.Drawing.Point(190, 252);
|
||||
this.buttonBeginUpgrade.Name = "buttonBeginUpgrade";
|
||||
this.buttonBeginUpgrade.Size = new System.Drawing.Size(212, 23);
|
||||
this.buttonBeginUpgrade.TabIndex = 1;
|
||||
@@ -165,7 +171,7 @@
|
||||
this.buttonNewFile._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonNewFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.buttonNewFile.DialogResult = System.Windows.Forms.DialogResult.Abort;
|
||||
this.buttonNewFile.Location = new System.Drawing.Point(190, 314);
|
||||
this.buttonNewFile.Location = new System.Drawing.Point(190, 310);
|
||||
this.buttonNewFile.Name = "buttonNewFile";
|
||||
this.buttonNewFile.Size = new System.Drawing.Size(212, 23);
|
||||
this.buttonNewFile.TabIndex = 3;
|
||||
@@ -177,7 +183,7 @@
|
||||
//
|
||||
this.buttonOpenFile._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonOpenFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.buttonOpenFile.Location = new System.Drawing.Point(190, 285);
|
||||
this.buttonOpenFile.Location = new System.Drawing.Point(190, 281);
|
||||
this.buttonOpenFile.Name = "buttonOpenFile";
|
||||
this.buttonOpenFile.Size = new System.Drawing.Size(212, 23);
|
||||
this.buttonOpenFile.TabIndex = 2;
|
||||
@@ -188,26 +194,72 @@
|
||||
// tabPageHarvestedCreds
|
||||
//
|
||||
this.tabPageHarvestedCreds.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tabPageHarvestedCreds.Controls.Add(this.olvFoundCredentials);
|
||||
this.tabPageHarvestedCreds.Controls.Add(this.lblCredsFound);
|
||||
this.tabPageHarvestedCreds.Controls.Add(this.btnCredsBack);
|
||||
this.tabPageHarvestedCreds.Controls.Add(this.btnCredsContinue);
|
||||
this.tabPageHarvestedCreds.Controls.Add(this.tableLayoutPanel1);
|
||||
this.tabPageHarvestedCreds.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPageHarvestedCreds.Name = "tabPageHarvestedCreds";
|
||||
this.tabPageHarvestedCreds.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPageHarvestedCreds.Size = new System.Drawing.Size(609, 374);
|
||||
this.tabPageHarvestedCreds.Size = new System.Drawing.Size(594, 377);
|
||||
this.tabPageHarvestedCreds.TabIndex = 2;
|
||||
this.tabPageHarvestedCreds.Text = "harvestedCreds";
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 1;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.olvFoundCredentials, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lblCredsFound, 0, 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 = 3;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(588, 371);
|
||||
this.tableLayoutPanel1.TabIndex = 5;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btnCredsBack);
|
||||
this.panel1.Controls.Add(this.btnCredsContinue);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(3, 339);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(582, 29);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// btnCredsBack
|
||||
//
|
||||
this.btnCredsBack._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.btnCredsBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCredsBack.Location = new System.Drawing.Point(373, 2);
|
||||
this.btnCredsBack.Name = "btnCredsBack";
|
||||
this.btnCredsBack.Size = new System.Drawing.Size(100, 24);
|
||||
this.btnCredsBack.TabIndex = 2;
|
||||
this.btnCredsBack.Text = "Back";
|
||||
this.btnCredsBack.UseVisualStyleBackColor = true;
|
||||
this.btnCredsBack.Click += new System.EventHandler(this.btnCredsBack_Click);
|
||||
//
|
||||
// btnCredsContinue
|
||||
//
|
||||
this.btnCredsContinue._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.btnCredsContinue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCredsContinue.Location = new System.Drawing.Point(479, 2);
|
||||
this.btnCredsContinue.Name = "btnCredsContinue";
|
||||
this.btnCredsContinue.Size = new System.Drawing.Size(100, 24);
|
||||
this.btnCredsContinue.TabIndex = 1;
|
||||
this.btnCredsContinue.Text = "Continue";
|
||||
this.btnCredsContinue.UseVisualStyleBackColor = true;
|
||||
this.btnCredsContinue.Click += new System.EventHandler(this.btnCredsContinue_Click);
|
||||
//
|
||||
// olvFoundCredentials
|
||||
//
|
||||
this.olvFoundCredentials.AllColumns.Add(this.colTitle);
|
||||
this.olvFoundCredentials.AllColumns.Add(this.colUsername);
|
||||
this.olvFoundCredentials.AllColumns.Add(this.colDomain);
|
||||
this.olvFoundCredentials.AllColumns.Add(this.colPassword);
|
||||
this.olvFoundCredentials.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.olvFoundCredentials.CellEditUseWholeCell = false;
|
||||
this.olvFoundCredentials.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.colTitle,
|
||||
this.colUsername,
|
||||
@@ -215,11 +267,12 @@
|
||||
this.colPassword});
|
||||
this.olvFoundCredentials.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.olvFoundCredentials.DecorateLines = true;
|
||||
this.olvFoundCredentials.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.olvFoundCredentials.HasCollapsibleGroups = false;
|
||||
this.olvFoundCredentials.Location = new System.Drawing.Point(0, 31);
|
||||
this.olvFoundCredentials.Location = new System.Drawing.Point(3, 23);
|
||||
this.olvFoundCredentials.Name = "olvFoundCredentials";
|
||||
this.olvFoundCredentials.ShowFilterMenuOnRightClick = false;
|
||||
this.olvFoundCredentials.Size = new System.Drawing.Size(609, 308);
|
||||
this.olvFoundCredentials.Size = new System.Drawing.Size(582, 310);
|
||||
this.olvFoundCredentials.SortGroupItemsByPrimaryColumn = false;
|
||||
this.olvFoundCredentials.TabIndex = 4;
|
||||
this.olvFoundCredentials.UseCompatibleStateImageBehavior = false;
|
||||
@@ -258,134 +311,111 @@
|
||||
//
|
||||
// lblCredsFound
|
||||
//
|
||||
this.lblCredsFound.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblCredsFound.AutoSize = true;
|
||||
this.lblCredsFound.Location = new System.Drawing.Point(6, 3);
|
||||
this.lblCredsFound.Location = new System.Drawing.Point(3, 3);
|
||||
this.lblCredsFound.Name = "lblCredsFound";
|
||||
this.lblCredsFound.Size = new System.Drawing.Size(89, 13);
|
||||
this.lblCredsFound.Size = new System.Drawing.Size(92, 13);
|
||||
this.lblCredsFound.TabIndex = 3;
|
||||
this.lblCredsFound.Text = "Credentials found";
|
||||
//
|
||||
// btnCredsBack
|
||||
//
|
||||
this.btnCredsBack._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.btnCredsBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCredsBack.Location = new System.Drawing.Point(445, 345);
|
||||
this.btnCredsBack.Name = "btnCredsBack";
|
||||
this.btnCredsBack.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCredsBack.TabIndex = 2;
|
||||
this.btnCredsBack.Text = "Back";
|
||||
this.btnCredsBack.UseVisualStyleBackColor = true;
|
||||
this.btnCredsBack.Click += new System.EventHandler(this.btnCredsBack_Click);
|
||||
//
|
||||
// btnCredsContinue
|
||||
//
|
||||
this.btnCredsContinue._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.btnCredsContinue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCredsContinue.Location = new System.Drawing.Point(526, 345);
|
||||
this.btnCredsContinue.Name = "btnCredsContinue";
|
||||
this.btnCredsContinue.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCredsContinue.TabIndex = 1;
|
||||
this.btnCredsContinue.Text = "Continue";
|
||||
this.btnCredsContinue.UseVisualStyleBackColor = true;
|
||||
this.btnCredsContinue.Click += new System.EventHandler(this.btnCredsContinue_Click);
|
||||
this.lblCredsFound.Text = "Credentials found:";
|
||||
//
|
||||
// tabPageSaveRepo
|
||||
//
|
||||
this.tabPageSaveRepo.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tabPageSaveRepo.Controls.Add(this.gbSetPassword);
|
||||
this.tabPageSaveRepo.Controls.Add(this.gbWhereToSaveCredFile);
|
||||
this.tabPageSaveRepo.Controls.Add(this.textBoxConfConPathTab2);
|
||||
this.tabPageSaveRepo.Controls.Add(this.buttonNewRepoPathBrowse);
|
||||
this.tabPageSaveRepo.Controls.Add(this.labelWhereToSaveCredFile);
|
||||
this.tabPageSaveRepo.Controls.Add(this.textBoxCredRepoPath);
|
||||
this.tabPageSaveRepo.Controls.Add(this.buttonExecuteUpgrade);
|
||||
this.tabPageSaveRepo.Controls.Add(this.labelSetPassword);
|
||||
this.tabPageSaveRepo.Controls.Add(this.newRepositoryPasswordEntry);
|
||||
this.tabPageSaveRepo.Controls.Add(this.labelConfConsPathHeaderOnTab2);
|
||||
this.tabPageSaveRepo.Controls.Add(this.buttonSaveRepoBack);
|
||||
this.tabPageSaveRepo.Location = new System.Drawing.Point(4, 24);
|
||||
this.tabPageSaveRepo.Name = "tabPageSaveRepo";
|
||||
this.tabPageSaveRepo.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPageSaveRepo.Size = new System.Drawing.Size(609, 374);
|
||||
this.tabPageSaveRepo.Size = new System.Drawing.Size(594, 377);
|
||||
this.tabPageSaveRepo.TabIndex = 1;
|
||||
this.tabPageSaveRepo.Text = "saveRepoPage";
|
||||
//
|
||||
// textBoxConfConPathTab2
|
||||
// gbSetPassword
|
||||
//
|
||||
this.textBoxConfConPathTab2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxConfConPathTab2.Location = new System.Drawing.Point(27, 32);
|
||||
this.textBoxConfConPathTab2.Multiline = true;
|
||||
this.textBoxConfConPathTab2.Name = "textBoxConfConPathTab2";
|
||||
this.textBoxConfConPathTab2.ReadOnly = true;
|
||||
this.textBoxConfConPathTab2.Size = new System.Drawing.Size(574, 41);
|
||||
this.textBoxConfConPathTab2.TabIndex = 9;
|
||||
this.gbSetPassword.Controls.Add(this.newRepositoryPasswordEntry);
|
||||
this.gbSetPassword.Location = new System.Drawing.Point(11, 209);
|
||||
this.gbSetPassword.Name = "gbSetPassword";
|
||||
this.gbSetPassword.Size = new System.Drawing.Size(572, 119);
|
||||
this.gbSetPassword.TabIndex = 11;
|
||||
this.gbSetPassword.TabStop = false;
|
||||
this.gbSetPassword.Text = "Set password for the credential repository";
|
||||
//
|
||||
// newRepositoryPasswordEntry
|
||||
//
|
||||
this.newRepositoryPasswordEntry.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.newRepositoryPasswordEntry.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.newRepositoryPasswordEntry.Location = new System.Drawing.Point(3, 16);
|
||||
this.newRepositoryPasswordEntry.MinimumSize = new System.Drawing.Size(0, 100);
|
||||
this.newRepositoryPasswordEntry.Name = "newRepositoryPasswordEntry";
|
||||
this.newRepositoryPasswordEntry.PasswordChar = '\0';
|
||||
this.newRepositoryPasswordEntry.Size = new System.Drawing.Size(566, 100);
|
||||
this.newRepositoryPasswordEntry.TabIndex = 3;
|
||||
this.newRepositoryPasswordEntry.UseSystemPasswordChar = true;
|
||||
this.newRepositoryPasswordEntry.Verified += new System.EventHandler(this.newRepositoryPasswordEntry_Verified);
|
||||
this.newRepositoryPasswordEntry.NotVerified += new System.EventHandler(this.newRepositoryPasswordEntry_NotVerified);
|
||||
//
|
||||
// gbWhereToSaveCredFile
|
||||
//
|
||||
this.gbWhereToSaveCredFile.Controls.Add(this.buttonNewRepoPathBrowse);
|
||||
this.gbWhereToSaveCredFile.Controls.Add(this.textBoxCredRepoPath);
|
||||
this.gbWhereToSaveCredFile.Location = new System.Drawing.Point(11, 113);
|
||||
this.gbWhereToSaveCredFile.Name = "gbWhereToSaveCredFile";
|
||||
this.gbWhereToSaveCredFile.Size = new System.Drawing.Size(572, 90);
|
||||
this.gbWhereToSaveCredFile.TabIndex = 10;
|
||||
this.gbWhereToSaveCredFile.TabStop = false;
|
||||
this.gbWhereToSaveCredFile.Text = "Where should we save the new credential file?";
|
||||
//
|
||||
// buttonNewRepoPathBrowse
|
||||
//
|
||||
this.buttonNewRepoPathBrowse._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonNewRepoPathBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonNewRepoPathBrowse.Location = new System.Drawing.Point(526, 143);
|
||||
this.buttonNewRepoPathBrowse.Location = new System.Drawing.Point(466, 45);
|
||||
this.buttonNewRepoPathBrowse.Name = "buttonNewRepoPathBrowse";
|
||||
this.buttonNewRepoPathBrowse.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonNewRepoPathBrowse.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonNewRepoPathBrowse.TabIndex = 8;
|
||||
this.buttonNewRepoPathBrowse.Text = "Browse";
|
||||
this.buttonNewRepoPathBrowse.UseVisualStyleBackColor = true;
|
||||
this.buttonNewRepoPathBrowse.Click += new System.EventHandler(this.buttonNewRepoPathBrowse_Click);
|
||||
//
|
||||
// labelWhereToSaveCredFile
|
||||
//
|
||||
this.labelWhereToSaveCredFile.AutoSize = true;
|
||||
this.labelWhereToSaveCredFile.Location = new System.Drawing.Point(14, 98);
|
||||
this.labelWhereToSaveCredFile.Name = "labelWhereToSaveCredFile";
|
||||
this.labelWhereToSaveCredFile.Size = new System.Drawing.Size(228, 13);
|
||||
this.labelWhereToSaveCredFile.TabIndex = 7;
|
||||
this.labelWhereToSaveCredFile.Text = "Where should we save the new credential file?";
|
||||
//
|
||||
// textBoxCredRepoPath
|
||||
//
|
||||
this.textBoxCredRepoPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxCredRepoPath.Location = new System.Drawing.Point(27, 117);
|
||||
this.textBoxCredRepoPath.Location = new System.Drawing.Point(6, 19);
|
||||
this.textBoxCredRepoPath.Name = "textBoxCredRepoPath";
|
||||
this.textBoxCredRepoPath.Size = new System.Drawing.Size(574, 20);
|
||||
this.textBoxCredRepoPath.Size = new System.Drawing.Size(560, 20);
|
||||
this.textBoxCredRepoPath.TabIndex = 6;
|
||||
this.textBoxCredRepoPath.TextChanged += new System.EventHandler(this.textBoxCredRepoPath_TextChanged);
|
||||
//
|
||||
// textBoxConfConPathTab2
|
||||
//
|
||||
this.textBoxConfConPathTab2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBoxConfConPathTab2.Location = new System.Drawing.Point(9, 32);
|
||||
this.textBoxConfConPathTab2.Multiline = true;
|
||||
this.textBoxConfConPathTab2.Name = "textBoxConfConPathTab2";
|
||||
this.textBoxConfConPathTab2.ReadOnly = true;
|
||||
this.textBoxConfConPathTab2.Size = new System.Drawing.Size(574, 41);
|
||||
this.textBoxConfConPathTab2.TabIndex = 9;
|
||||
//
|
||||
// buttonExecuteUpgrade
|
||||
//
|
||||
this.buttonExecuteUpgrade._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonExecuteUpgrade.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonExecuteUpgrade.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.buttonExecuteUpgrade.Enabled = false;
|
||||
this.buttonExecuteUpgrade.Location = new System.Drawing.Point(526, 343);
|
||||
this.buttonExecuteUpgrade.Location = new System.Drawing.Point(483, 345);
|
||||
this.buttonExecuteUpgrade.Name = "buttonExecuteUpgrade";
|
||||
this.buttonExecuteUpgrade.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonExecuteUpgrade.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonExecuteUpgrade.TabIndex = 5;
|
||||
this.buttonExecuteUpgrade.Text = "Upgrade";
|
||||
this.buttonExecuteUpgrade.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// labelSetPassword
|
||||
//
|
||||
this.labelSetPassword.AutoSize = true;
|
||||
this.labelSetPassword.Location = new System.Drawing.Point(13, 194);
|
||||
this.labelSetPassword.Name = "labelSetPassword";
|
||||
this.labelSetPassword.Size = new System.Drawing.Size(201, 13);
|
||||
this.labelSetPassword.TabIndex = 4;
|
||||
this.labelSetPassword.Text = "Set password for the credential repository";
|
||||
//
|
||||
// newRepositoryPasswordEntry
|
||||
//
|
||||
this.newRepositoryPasswordEntry.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.newRepositoryPasswordEntry.Location = new System.Drawing.Point(27, 220);
|
||||
this.newRepositoryPasswordEntry.MinimumSize = new System.Drawing.Size(0, 100);
|
||||
this.newRepositoryPasswordEntry.Name = "newRepositoryPasswordEntry";
|
||||
this.newRepositoryPasswordEntry.PasswordChar = '\0';
|
||||
this.newRepositoryPasswordEntry.Size = new System.Drawing.Size(574, 100);
|
||||
this.newRepositoryPasswordEntry.TabIndex = 3;
|
||||
this.newRepositoryPasswordEntry.UseSystemPasswordChar = true;
|
||||
this.newRepositoryPasswordEntry.Verified += new System.EventHandler(this.newRepositoryPasswordEntry_Verified);
|
||||
this.newRepositoryPasswordEntry.NotVerified += new System.EventHandler(this.newRepositoryPasswordEntry_NotVerified);
|
||||
//
|
||||
// labelConfConsPathHeaderOnTab2
|
||||
//
|
||||
this.labelConfConsPathHeaderOnTab2.AutoSize = true;
|
||||
@@ -399,9 +429,9 @@
|
||||
//
|
||||
this.buttonSaveRepoBack._mice = mRemoteNG.UI.Controls.Base.NGButton.MouseState.HOVER;
|
||||
this.buttonSaveRepoBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.buttonSaveRepoBack.Location = new System.Drawing.Point(445, 343);
|
||||
this.buttonSaveRepoBack.Location = new System.Drawing.Point(377, 345);
|
||||
this.buttonSaveRepoBack.Name = "buttonSaveRepoBack";
|
||||
this.buttonSaveRepoBack.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonSaveRepoBack.Size = new System.Drawing.Size(100, 24);
|
||||
this.buttonSaveRepoBack.TabIndex = 0;
|
||||
this.buttonSaveRepoBack.Text = "Back";
|
||||
this.buttonSaveRepoBack.UseVisualStyleBackColor = true;
|
||||
@@ -411,7 +441,7 @@
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ClientSize = new System.Drawing.Size(617, 402);
|
||||
this.ClientSize = new System.Drawing.Size(602, 405);
|
||||
this.Controls.Add(this.tabControl);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
@@ -425,10 +455,15 @@
|
||||
this.tabPageWelcome.ResumeLayout(false);
|
||||
this.tabPageWelcome.PerformLayout();
|
||||
this.tabPageHarvestedCreds.ResumeLayout(false);
|
||||
this.tabPageHarvestedCreds.PerformLayout();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.olvFoundCredentials)).EndInit();
|
||||
this.tabPageSaveRepo.ResumeLayout(false);
|
||||
this.tabPageSaveRepo.PerformLayout();
|
||||
this.gbSetPassword.ResumeLayout(false);
|
||||
this.gbWhereToSaveCredFile.ResumeLayout(false);
|
||||
this.gbWhereToSaveCredFile.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -446,9 +481,7 @@
|
||||
private Controls.Base.NGButton buttonSaveRepoBack;
|
||||
private Controls.Base.NGLabel labelConfConsPathHeaderOnTab2;
|
||||
private Controls.Base.NGButton buttonExecuteUpgrade;
|
||||
private Controls.Base.NGLabel labelSetPassword;
|
||||
private Controls.NewPasswordWithVerification newRepositoryPasswordEntry;
|
||||
private Controls.Base.NGLabel labelWhereToSaveCredFile;
|
||||
private Controls.Base.NGTextBox textBoxCredRepoPath;
|
||||
private System.Windows.Forms.SaveFileDialog newCredRepoPathDialog;
|
||||
private Controls.Base.NGButton buttonNewRepoPathBrowse;
|
||||
@@ -465,5 +498,9 @@
|
||||
private BrightIdeasSoftware.OLVColumn colDomain;
|
||||
private BrightIdeasSoftware.OLVColumn colPassword;
|
||||
private BrightIdeasSoftware.OLVColumn colTitle;
|
||||
private Controls.Base.NGGroupBox gbSetPassword;
|
||||
private Controls.Base.NGGroupBox gbWhereToSaveCredFile;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
@@ -117,7 +117,7 @@ namespace mRemoteNG.UI.Forms
|
||||
buttonExit.Text = Language.strMenuExit;
|
||||
|
||||
// HarvestedCreds tab
|
||||
lblCredsFound.Text = "Credentials found";
|
||||
lblCredsFound.Text = $@"{Language.strCredentialsFound}:";
|
||||
colTitle.Text = Language.strPropertyNameName;
|
||||
colUsername.Text = Language.strPropertyNameUsername;
|
||||
colDomain.Text = Language.strPropertyNameDomain;
|
||||
@@ -125,8 +125,8 @@ namespace mRemoteNG.UI.Forms
|
||||
|
||||
// SaveRepo tab
|
||||
labelConfConsPathHeaderOnTab2.Text = $@"{Language.strConnectionFilePath}:";
|
||||
labelWhereToSaveCredFile.Text = "Where should we save the new credential file?";
|
||||
labelSetPassword.Text = "Set password for the credential repository";
|
||||
gbWhereToSaveCredFile.Text = $@"{Language.strConnectionFilePathPrompt}:";
|
||||
gbSetPassword.Text = $@"{Language.strConnectionPasswordPrompt}:";
|
||||
buttonNewRepoPathBrowse.Text = Language.strButtonBrowse;
|
||||
buttonSaveRepoBack.Text = Language.strBack;
|
||||
buttonExecuteUpgrade.Text = Language.strUpgrade;
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace mRemoteNG.UI.Menu
|
||||
{
|
||||
var credentialManagerForm = new CredentialManagerForm(CredentialService, UnlockerFormFactory);
|
||||
credentialManagerForm.CenterOnTarget(MainForm);
|
||||
credentialManagerForm.Show();
|
||||
credentialManagerForm.ShowDialog();
|
||||
}
|
||||
|
||||
private void mMenToolsSSHTransfer_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user