public override void CreateControls() { this.Load += SendDisclosuresBlend_Load;; base.CreateControls(); _personaBreakOut = WyndhamLibGlobal.EncompassUtilities.BreakOutUserPersona(EncompassApplication.CurrentUser); var missingControls = InitControls(); if (missingControls.Any()) { var msg = $"Error: Please take a screenshot and send to IT." + $"{Environment.NewLine + Environment.NewLine}" + $"Cannot Find controls below on \"{this.Form.Name}\" workstation. {Environment.NewLine}" + FormatMissingControls(missingControls); Macro.Alert(msg); } }
public override void Login(object sender, EventArgs e) { PersonaBreakOut = WyndhamLibGlobal.EncompassUtilities.BreakOutUserPersona(EncompassApplication.CurrentUser); FormWrapper.FormOpened += FormWrapper_FormOpened; }