public override void InitContentImpl(int aId) { var obj = Program.RealmDal.GetSkillCategory(aId); txtSystemName.Text = obj.SystemName; txtDisplayName.Text = obj.DisplayName; var statList = Program.RealmDal.GetStatistics(); ComboUtils.FillCombo(cboStatistics, statList, obj.StatisticID); ControlName = txtSystemName.Text; }
public override void InitContentImpl(int aId) { var obj = Program.RealmDal.GetSkill(aId); txtSystemName.Text = obj.SystemName; txtDisplayName.Text = obj.DisplayName; txtDescription.Text = obj.DisplayDescription; numMaxValue.Value = obj.MaxValue; chkIsMasterable.Checked = obj.IsMasterable; var statList = Program.RealmDal.GetStatistics(); ComboUtils.FillCombo(cboStatistic, statList, obj.StatisticID); EditorFactory.SetupLink(linkSkillCategory, DataSystemType.SkillCategory, obj.SkillCategoryID); EditorFactory.SetupLink(linkParentSkill, DataSystemType.Skill, obj.ParentSkillID.GetValueOrDefault(0)); ControlName = txtSystemName.Text; }
public override void InitNewImpl() { var statList = Program.RealmDal.GetStatistics(); ComboUtils.FillCombo(cboStatistic, statList, 0); }
private void InitControls() { var statList = Program.RealmDal.GetStatistics(); ComboUtils.FillCombo(cboStatistic, statList, 0); }