Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        private void showMenuGlobalDisplayPrefs()
        {
            //object wrapper = new GlobalizedPropertiesWrapper(MhoraGlobalOptions.Instance);
            MhoraOptions f = new MhoraOptions(MhoraGlobalOptions.Instance, new ApplyOptions(this.updateDisplayPreferences), true);

            f.ShowDialog();
        }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 4
0
        private void menuCalcOpts_Click(object sender, System.EventArgs e)
        {
            MhoraOptions f = new MhoraOptions(h.options, new ApplyOptions(this.SetCalcOptions));

            f.ShowDialog();
        }
Exemplo n.º 5
0
        public void menuShowDobOptions()
        {
            MhoraOptions f = new MhoraOptions(h.info.Clone(), new ApplyOptions(h.UpdateHoraInfo));

            f.ShowDialog();
        }
Exemplo n.º 6
0
        private void mEditStrengthPrefs_Click(object sender, System.EventArgs e)
        {
            MhoraOptions f = new MhoraOptions(MhoraGlobalOptions.Instance.SOptions, new ApplyOptions(this.updateCalcPreferences), true);

            f.ShowDialog();
        }
Exemplo n.º 7
0
        private void menuOptions_Click(object sender, System.EventArgs e)
        {
            MhoraOptions f = new MhoraOptions(this.userOptions.Clone(), new ApplyOptions(SetOptions));

            f.ShowDialog();
        }