public override void OpenMoreOptions(TimerDefaultSettingsForm form) { base.OpenMoreOptions(form); MeditPathTimerOptionsForm ui = new MeditPathTimerOptionsForm(form, this); ui.ShowDialogCenteredOnForm(form); }
public override void OpenMoreOptions(TimerDefaultSettingsForm form) { AlignmentTimerOptionsForm ui = new AlignmentTimerOptionsForm(this); if (ui.ShowDialogCenteredOnForm(form) == System.Windows.Forms.DialogResult.OK) { SetLightAndReligion(ui.WhiteLighter, ui.Religion); } }
public PrayerTimerOptionsForm(PrayerTimer prayerTimer, TimerDefaultSettingsForm form, [NotNull] ISoundManager soundManager) { if (soundManager == null) { throw new ArgumentNullException("soundManager"); } InitializeComponent(); this.prayerTimer = prayerTimer; this.formSettings = form; this.soundManager = soundManager; numericUpDownFavorWhenThis.Value = ((decimal)prayerTimer.FavorSettings.FavorNotifyOnLevel).ConstrainToRange(0M, 100M); checkBoxPopupPersist.Checked = prayerTimer.FavorSettings.FavorNotifyPopupPersist; textBoxSoundName.Text = soundManager.GetSoundById(prayerTimer.FavorSettings.FavorNotifySoundId).Name; checkBoxNotifySound.Checked = prayerTimer.FavorSettings.FavorNotifySound; checkBoxNotifyPopup.Checked = prayerTimer.FavorSettings.FavorNotifyPopup; checkBoxFavorWhenMAX.Checked = prayerTimer.FavorSettings.FavorNotifyWhenMax; checkBoxShowFaithSkill.Checked = prayerTimer.ShowFaithSkillOnTimer; }
public override void OpenMoreOptions(TimerDefaultSettingsForm form) { PrayerTimerOptionsForm ui = new PrayerTimerOptionsForm(this, form, SoundManager); ui.ShowDialogCenteredOnForm(form); }
public override void OpenMoreOptions(TimerDefaultSettingsForm form) { MeditationTimerOptionsForm moreOptUi = new MeditationTimerOptionsForm(this); moreOptUi.ShowDialogCenteredOnForm(form); }
public MeditPathTimerOptionsForm(TimerDefaultSettingsForm defaultSettingsForm, MeditPathTimer meditPathTimer) { this.defaultSettingsForm = defaultSettingsForm; this.meditPathTimer = meditPathTimer; InitializeComponent(); }