public void Test() { MdCore.Serialize(new MdPersistentData(), MdConstant.N_PERSISTENT_DATA); MdMetaUtil.ResetDefaults(); }
private void ResetDefaults() { // TODO if (MessageBox.Show("Are you sure you wish to proceed?\nArbites will restart itself after this operation.", "This will reset your defaults.", MessageBoxButtons.YesNo, MessageBoxType.Question, MessageBoxDefaultButton.No) == DialogResult.Yes) { MdMetaUtil.ResetDefaults(); Application.Instance.Restart(); } }