private void mEditCalcPrefs_Click(object sender, System.EventArgs e) { //object wrapper = new GlobalizedPropertiesWrapper(MhoraGlobalOptions.Instance.HOptions); MhoraOptions f = new MhoraOptions(MhoraGlobalOptions.Instance.HOptions, new ApplyOptions(this.updateCalcPreferences), true); f.ShowDialog(); }
private void showMenuGlobalDisplayPrefs() { //object wrapper = new GlobalizedPropertiesWrapper(MhoraGlobalOptions.Instance); MhoraOptions f = new MhoraOptions(MhoraGlobalOptions.Instance, new ApplyOptions(this.updateDisplayPreferences), true); f.ShowDialog(); }
private void menuStrengthOpts_Click(object sender, System.EventArgs e) { if (this.h.strength_options == null) { this.h.strength_options = (StrengthOptions)MhoraGlobalOptions.Instance.SOptions.Clone(); } MhoraOptions f = new MhoraOptions(h.strength_options, new ApplyOptions(this.SetStrengthOptions)); f.ShowDialog(); }
private void menuCalcOpts_Click(object sender, System.EventArgs e) { MhoraOptions f = new MhoraOptions(h.options, new ApplyOptions(this.SetCalcOptions)); f.ShowDialog(); }
public void menuShowDobOptions() { MhoraOptions f = new MhoraOptions(h.info.Clone(), new ApplyOptions(h.UpdateHoraInfo)); f.ShowDialog(); }
private void mEditStrengthPrefs_Click(object sender, System.EventArgs e) { MhoraOptions f = new MhoraOptions(MhoraGlobalOptions.Instance.SOptions, new ApplyOptions(this.updateCalcPreferences), true); f.ShowDialog(); }
private void menuOptions_Click(object sender, System.EventArgs e) { MhoraOptions f = new MhoraOptions(this.userOptions.Clone(), new ApplyOptions(SetOptions)); f.ShowDialog(); }