示例#1
0
        private void DB_ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            ItemDB_Binding temp = (ItemDB_Binding)DB_ListBox.SelectedItem;

            if (temp != null)
            {
                now_item.ChangeValue(temp);
                SetNowItemOption();
            }
        }
示例#2
0
        public void ChangeValue(ItemDB_Binding param)
        {
            NowRefineOption = param.NowRefineOption;

            Id                    = param.Id;
            Name                  = param.Name;
            SetName               = param.SetName;
            ImageName             = param.ImageName;
            LevelLimit            = param.LevelLimit;
            CardSlot              = param.CardSlot;
            EnchantSlot           = param.EnchantSlot;
            Item_type             = param.Item_type;
            Equip_type            = param.Equip_type;
            SetPosition           = param.SetPosition;
            Wear_job_limit        = param.Wear_job_limit;
            Option                = param.Option;
            Option_IF_TYPE        = param.Option_IF_TYPE;
            Option_Refine         = param.Option_Refine;
            Option_SKILL_DMG_TYPE = param.Option_SKILL_DMG_TYPE;
        }