private void InitializeData() { EbbinghausTemplate = addEbbinghousTransaction.EbbinghausTemplate; chkDefaultEbbinghous.Checked = addEbbinghousTransaction.IsTemplateDefault; rtxDescription.Text = addEbbinghousTransaction.EbbinghausTemplate.Description; dtPicker.CustomFormat = Constant.DateFormat; dtPicker.Format = DateTimePickerFormat.Custom; dtPicker.Value = DateTime.Now; }
static UserSetting() { // TODO: Get the default Ebbinghaus from user setting _default = CommonEbbinghausTemplate.Instance; }