예제 #1
0
 private void BindDropdowns()
 {
     ComboboxService.BindColors(_Color);
     ComboboxService.BindItemExtension(_Extension);
     ComboboxService.BindItemEffect(_Effect);
     ComboboxService.BindItemSlot(_Slot);
 }
예제 #2
0
        private void SetupDropdowns()
        {
            ComboboxService.BindItemExtension(_Extension);
            ComboboxService.BindItemEffect(_Effect);
            ComboboxService.BindRealms(_Realm);
            ComboboxService.BindWeaponDamageTypes(_Type_Damage);
            ComboboxService.BindObjectType(_Object_Type);
            ComboboxService.BindBonusCatagory(Bonus1Catagory);
            ComboboxService.BindBonusCatagory(Bonus2Catagory);
            ComboboxService.BindBonusCatagory(Bonus3Catagory);
            ComboboxService.BindBonusCatagory(Bonus4Catagory);
            ComboboxService.BindBonusCatagory(Bonus5Catagory);
            ComboboxService.BindBonusCatagory(Bonus6Catagory);
            ComboboxService.BindBonusCatagory(Bonus7Catagory);
            ComboboxService.BindBonusCatagory(Bonus8Catagory);
            ComboboxService.BindBonusCatagory(Bonus9Catagory);
            ComboboxService.BindBonusCatagory(Bonus10Catagory);
            ComboboxService.BindBonusCatagory(ExtraBonusCatagory);
            ComboboxService.BindColors(_Color);
            ComboboxService.BindItemSlot(_Item_Type);

            _Object_Type.AutoCompleteCustomSource.AddRange(_Object_Type.Items.Cast <ComboboxService.SelectItemModel>().Select(x => x.Value).ToArray());
        }