Example #1
0
        /// <summary>
        /// Open setting form to configure runtime settings
        /// </summary>
        public void ShowSettingForm()
        {
            SettingForm frm = new SettingForm();

            if (State == RuningStates.Breaking)
            {
                throw new Exception("Could not open setting form during breaking!");
            }

            if (frm == null || frm.IsDisposed)
            {
                frm = new SettingForm(); //TODO add manager
            }
            frm.Show();
        }
        /// <summary>
        /// Open setting form to configure runtime settings
        /// </summary>
        public void ShowSettingForm()
        {
            SettingForm frm = new SettingForm();
            if (State == RuningStates.Breaking)
                throw new Exception("Could not open setting form during breaking!");

            if (frm == null || frm.IsDisposed) {
                frm = new SettingForm(); //TODO add manager
            }
            frm.Show();
        }