diff --git a/mRemoteV1/References/ADTree.dll b/mRemoteV1/References/ADTree.dll index efef39efd..681e99c44 100644 Binary files a/mRemoteV1/References/ADTree.dll and b/mRemoteV1/References/ADTree.dll differ diff --git a/mRemoteV1/UI/Window/ActiveDirectoryImportWindow.Designer.cs b/mRemoteV1/UI/Window/ActiveDirectoryImportWindow.Designer.cs index d9ec226ae..8593b2e0b 100644 --- a/mRemoteV1/UI/Window/ActiveDirectoryImportWindow.Designer.cs +++ b/mRemoteV1/UI/Window/ActiveDirectoryImportWindow.Designer.cs @@ -1,4 +1,4 @@ - + using mRemoteNG.Themes; @@ -64,7 +64,7 @@ namespace mRemoteNG.UI.Window // // ActiveDirectoryTree // - this.ActiveDirectoryTree.ADPath = null; + this.ActiveDirectoryTree.AdPath = null; this.ActiveDirectoryTree.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))); @@ -76,7 +76,7 @@ namespace mRemoteNG.UI.Window this.ActiveDirectoryTree.SelectedNode = null; this.ActiveDirectoryTree.Size = new System.Drawing.Size(510, 285); this.ActiveDirectoryTree.TabIndex = 3; - this.ActiveDirectoryTree.ADPathChanged += new ADTree.ADtree.ADPathChangedEventHandler(this.ActiveDirectoryTree_ADPathChanged); + this.ActiveDirectoryTree.AdPathChanged += new ADTree.ADtree.AdPathChangedEventHandler(this.ActiveDirectoryTree_ADPathChanged); // // btnClose // diff --git a/mRemoteV1/UI/Window/ActiveDirectoryImportWindow.cs b/mRemoteV1/UI/Window/ActiveDirectoryImportWindow.cs index 07e0d9fea..af220114a 100644 --- a/mRemoteV1/UI/Window/ActiveDirectoryImportWindow.cs +++ b/mRemoteV1/UI/Window/ActiveDirectoryImportWindow.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Windows.Forms; using WeifenLuo.WinFormsUI.Docking; @@ -57,7 +57,7 @@ namespace mRemoteNG.UI.Window else importDestination = Runtime.ConnectionsService.ConnectionTreeModel.RootNodes.First(); - Import.ImportFromActiveDirectory(ActiveDirectoryTree.ADPath, importDestination, chkSubOU.Checked); + Import.ImportFromActiveDirectory(ActiveDirectoryTree.AdPath, importDestination, chkSubOU.Checked); } /* @@ -80,6 +80,7 @@ namespace mRemoteNG.UI.Window ChangeDomain(); } + // ReSharper disable once UnusedParameter.Local private void ActiveDirectoryTree_ADPathChanged(object sender) { EnableDisableImportButton(); @@ -105,7 +106,7 @@ namespace mRemoteNG.UI.Window private void EnableDisableImportButton() { - btnImport.Enabled = !string.IsNullOrEmpty(ActiveDirectoryTree.ADPath); + btnImport.Enabled = !string.IsNullOrEmpty(ActiveDirectoryTree.AdPath); } #endregion