private void SaveSettings() { this.DisplayOptions.VolumeDisplay = this.btnVolume.Selected; this.DisplayOptions.ProgressDisplay = this.btnProgress.Selected; this.DisplayOptions.DiskIcon = this.btnDiskIcon.Selected; if (this.btnMediaStatus != null) { this.DisplayOptions.DiskMediaStatus = this.btnMediaStatus.Selected; } if (this.btnDiskStatus != null) { this.DisplayOptions.DiskMonitor = this.btnDiskStatus.Selected; } this.DisplayOptions.UseCustomFont = this.btnCustomFont.Selected; this.DisplayOptions.UseLargeIcons = this.btnLargeIcons.Selected; if (this.btnCustomIcons != null) { this.DisplayOptions.UseCustomIcons = this.btnCustomIcons.Selected; } if (this.btnInvertIcons != null) { this.DisplayOptions.UseInvertedIcons = this.btnInvertIcons.Selected; } XMLUTILS.SaveDisplayOptionsSettings(this.DisplayOptions); }
private void SaveSettings() { this.RCSettings.DisableRemote = this.btnDisableRemote.Selected; this.RCSettings.DisableRepeat = this.btnDisableRepeat.Selected; this.RCSettings.RepeatDelay = this.btnRepeatDelay.SelectedItem; XMLUTILS.SaveRemoteSettings(this.RCSettings); }
private void LoadSettings() { this.DisplayOptions = XMLUTILS.LoadDisplayOptionsSettings(); this.SetVolume(); this.SetProgress(); this.SetDiskIcon(); }
private void LoadSettings() { this.RCSettings = XMLUTILS.LoadRemoteSettings(); this.SetDisableRemote(); this.SetDisableRepeat(); this.SetRepeatDelay(); }
private void LoadSettings() { this.BackLightOptions = XMLUTILS.LoadBackLightSettings(); this.SetRed(); this.SetGreen(); this.SetBlue(); this.SetInverted(); }
private void SaveSettings() { this.BackLightOptions.BackLightRed = this.btnRed.SelectedItem; this.BackLightOptions.BackLightGreen = this.btnGreen.SelectedItem; this.BackLightOptions.BackLightBlue = this.btnBlue.SelectedItem; this.BackLightOptions.InvertDisplay = this.btnInvert.Selected; XMLUTILS.SaveBackLightSettings(this.BackLightOptions); }
private void LoadSettings() { this.DisplayControl = XMLUTILS.LoadDisplayControlSettings(); this.SetDisplayVideo(); this.SetDisplayAction(); this.SetDisplayActionTime(); this.SetDisplayIdle(); this.SetIdleDelay(); }
private void LoadSettings() { this.EQSettings = XMLUTILS.LoadEqualizerSettings(); this.SetUseEqualizer(); this.SetUseStyle(); this.SetUseSmoothEQ(); this.SetDelayStart(); this.SetShowTitle(); }
private void SetButtons() { KeyPadLayout layout = XMLUTILS.GetKeyPadLayout(KPSettings); btnEnableKeyPad.Visible = layout.EnableKeyPad; btnEnableCustom.Visible = layout.EnableCustom; btnKeyPadMapping.Visible = layout.KeyPadMapping; label1.Visible = layout.Label1; }
private void SetButtons() { RemoteLayout layout = XMLUTILS.GetRemoteLayout(RCSettings); label1.Visible = layout.Label1; btnDisableRemote.Visible = layout.DisableRemote; btnDisableRepeat.Visible = layout.DisableRepeat; btnRepeatDelay.Visible = layout.RepeatDelay; btnRemoteMapping.Visible = layout.RemoteMapping; }
private void SaveSettings() { this.EQSettings.UseEqDisplay = this.btnUseEqualizer.Selected; this.EQSettings.SmoothEQ = this.btnSmothEQ.Selected; if (this.btnUseStyle != null) { switch (this.btnUseStyle.SelectedItem) { case 0: this.EQSettings.UseNormalEq = true; this.EQSettings.UseStereoEq = false; this.EQSettings.UseVUmeter = false; this.EQSettings.UseVUmeter2 = false; break; case 1: this.EQSettings.UseNormalEq = false; this.EQSettings.UseStereoEq = true; this.EQSettings.UseVUmeter = false; this.EQSettings.UseVUmeter2 = false; break; case 2: this.EQSettings.UseNormalEq = false; this.EQSettings.UseStereoEq = false; this.EQSettings.UseVUmeter = true; this.EQSettings.UseVUmeter2 = false; break; case 3: this.EQSettings.UseNormalEq = false; this.EQSettings.UseStereoEq = false; this.EQSettings.UseVUmeter = false; this.EQSettings.UseVUmeter2 = true; break; } } this.EQSettings.DelayEQ = this.btnDelayStart.Selected; if (this.EQSettings.DelayEQ) { this.EQSettings._DelayEQTime = this.btnDelayStartTime.SelectedItem; } this.EQSettings.EQTitleDisplay = this.btnShowTitle.Selected; if (this.EQSettings.EQTitleDisplay) { this.EQSettings._EQTitleShowTime = this.btnShowTitleTime.SelectedItem; this.EQSettings._EQTitleDisplayTime = this.btnShowTitleFreq.SelectedItem; } XMLUTILS.SaveEqualizerSettings(this.EQSettings); }
private void SaveSettings() { this.DisplayControl.BlankDisplayWithVideo = this.btnDisplayVideo.Selected; this.DisplayControl.EnableDisplayAction = this.btnDisplayAction.Selected; if (this.btnDisplayAction.Selected) { this.DisplayControl.DisplayActionTime = this.btnDisplayActionTime.SelectedItem; } this.DisplayControl.BlankDisplayWhenIdle = this.btnDisplayIdle.Selected; if (this.btnDisplayIdle.Selected) { this.DisplayControl.BlankIdleDelay = this.btnIdleDelay.SelectedItem; } XMLUTILS.SaveDisplayControlSettings(this.DisplayControl); }
protected override void OnClicked(int controlId, GUIControl control, Action.ActionType actionType) { if (control == this.btnMonitorPower) { XMLUTILS.SaveMonitorPowerState(this.btnMonitorPower.Selected); } if (control == this.btnContrast) { XMLUTILS.SaveContrast(this.btnContrast.SelectedItem); } if (control == this.btnBrightness) { XMLUTILS.SaveBrightness(this.btnBrightness.SelectedItem); } }
private void SetButtons() { DisplayOptionsLayout layout = XMLUTILS.GetDisplayOptionsLayout(DisplayOptions); btnVolume.Visible = layout.Volume; btnProgress.Visible = layout.Progress; btnDiskIcon.Visible = layout.DiskIcon; btnMediaStatus.Visible = layout.MediaStatus; btnDiskStatus.Visible = layout.DiskStatus; btnCustomFont.Visible = layout.CustomFont; btnLargeIcons.Visible = layout.LargeIcons; btnCustomIcons.Visible = layout.CustomIcons; btnInvertIcons.Visible = layout.InvertIcons; btnFontEditor.Visible = layout.FontEditor; btnIconEditor.Visible = layout.IconEditor; }
private void SetButtons() { MainMenuLayout layout = XMLUTILS.GetMainMenuLayout(); labelInfo1.Visible = layout.LabelInfo1; labelInfo2.Visible = layout.LabelInfo2; btnBacklight.Visible = layout.Backlight; btnDisplayControl.Visible = layout.DisplayControl; btnDisplayOptions.Visible = layout.DisplayOptions; btnEqualizer.Visible = layout.Equalizer; btnKeyPad.Visible = layout.KeyPad; btnRemote.Visible = layout.Remote; btnContrast.Visible = layout.Contrast; btnMonitorPower.Visible = layout.MonitorPower; btnBrightness.Visible = layout.Brightness; }
private void SaveSettings() { this.KPSettings.EnableKeyPad = this.btnEnableKeyPad.Selected; this.KPSettings.EnableCustom = this.btnEnableCustom.Selected; XMLUTILS.SaveKeyPadSettings(this.KPSettings); }
private void LoadSettings() { this.KPSettings = XMLUTILS.LoadKeyPadSettings(); this.SetEnableKeyPad(); this.SetEnableCustom(); }
private void LoadSettings() { this.btnMonitorPower.Selected = XMLUTILS.LoadMonitorPowerSate(); this.SetContrast(); this.SetBrightness(); }