added AdHelper back to solution (was lost during merge)

This commit is contained in:
Faryan Rezagholi
2020-05-30 21:42:05 +02:00
parent 87f842203c
commit b565a0375c
3 changed files with 4 additions and 3 deletions

View File

@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
namespace mRemoteNG.Tools
{
public class ADhelper
public class AdHelper
{
private DirectoryEntry _dEntry;
public ADhelper(string domain)
public AdHelper(string domain)
{
Children = new Hashtable();
Domain = domain;

View File

@@ -65,7 +65,7 @@ namespace mRemoteNG.UI.Controls
private void AddTreeNodes(TreeNode tNode)
{
var adhelper = new ADhelper(Domain);
var adhelper = new AdHelper(Domain);
adhelper.GetChildEntries(tNode.Tag.ToString());
var enumerator = adhelper.Children.GetEnumerator();
tvActiveDirectory.BeginUpdate();

View File

@@ -347,6 +347,7 @@
<Compile Include="Themes\MremoteNGThemeBase.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Tools\ADhelper.cs" />
<Compile Include="Tools\Attributes\AttributeUsedInAllProtocolsExcept.cs" />
<Compile Include="Tools\Clipboard\WindowsClipboard.cs" />
<Compile Include="Tools\CustomCollections\IFullyNotifiableList.cs" />