Example #1
0
        private void btnBrowse_Click(object sender, EventArgs e)
        {
            LACTreeNode PluginNode = plugin.GetPlugInNode();
            LACTreeNode rootDNnode = PluginNode.Tag as LACTreeNode;

            dirContext = rootDNnode.Tag as DirectoryContext;

            ObjectsListPage objectsPage = new ObjectsListPage();

            objectsPage.SetData(dirContext, plugin, container);
            if (objectsPage.ShowDialog(this) == DialogResult.OK)
            {
                lblGPO.Text = objectsPage.GPODisplayName;
                Wizard.enableButton(WizardDialog.WizardButton.Finish);
                objectSelectDlg.displayName       = objectsPage.GPODisplayName;
                objectSelectDlg.distinguishedName = objectsPage.DistinguishedName;
            }
        }