private ScreenBrightnessUI CreateGUI() { ScreenBrightnessUI newGUI = new ScreenBrightnessUI(); newGUI.Loaded += (o, e) => { TypedGUI.Settings = _Settings; TypedGUI.HostControl = HostControl; }; return(newGUI); }
private ScreenBrightnessUI CreateGUI() { ScreenBrightnessUI newGUI = new ScreenBrightnessUI(); newGUI.Loaded += (o, e) => { TypedGUI.Settings = _Settings; TypedGUI.HostControl = HostControl; }; return newGUI; }