public override void DoSelect() { if (PropertiesCtl == null) { VMDirEnvironment.Instance.Logger.Log("PropertiesCtl is null", LogLevel.Error); } PropertiesCtl.SetEditState(false); DoExpand(); }
public override void DoSelect() { PropertiesCtl.Visible = true; var oc = string.Empty; if (ObjectClass.Count > 0) { oc = ObjectClass[ObjectClass.Count - 1]; } PropertiesCtl.Init(Dn, oc, ServerDTO, NodeProperties); }
public override void DoSelect() { if (ServerDTO.IsLoggedIn) { PropertiesCtl.Init(VMDirConstants.ATTR_VMW_DSEROOT_DN, string.Empty, ServerDTO, ServerProperties); } else { PropertiesCtl.ClearView(); PropertiesCtl.SetEditState(false); } }
public void Logout() { try { ServerDTO.Connection = new LdapConnectionService(ServerDTO.Server, ServerDTO.BindDN, ServerDTO.Password); ServerDTO.Connection.CloseConnection(); ServerDTO.Connection = null; ServerDTO.IsLoggedIn = false; Nodes.Clear(); PropertiesCtl.ClearView(); } catch (Exception exp) { MiscUtilsService.ShowError(exp); } }