예제 #1
0
        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;
        }
예제 #2
0
        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;
        }
예제 #3
0
        public override void InitNewImpl()
        {
            var statList = Program.RealmDal.GetStatistics();

            ComboUtils.FillCombo(cboStatistic, statList, 0);
        }
예제 #4
0
        private void InitControls()
        {
            var statList = Program.RealmDal.GetStatistics();

            ComboUtils.FillCombo(cboStatistic, statList, 0);
        }