Пример #1
0
        private void EveMarketdataCom_Init_CmbPriceType()
        {
            List <TextItemWithUInt32> items = new List <TextItemWithUInt32>();

            foreach (PriceTypes priceType in PriceProviderEveMarketdataCom.GetSupportedPriceTypes())
            {
                String enumName = Engine.GetPriceTypeName(priceType);
                items.Add(new TextItemWithUInt32(enumName, (UInt32)priceType));
            }

            PopulateCombo(Cmb_EveMarketdataCom_PriceType, items, (UInt32)m_Settings.EveMarketdataCom.PriceType);
        }
Пример #2
0
        private void Init_FuzzworkCoUk_CmbPriceType()
        {
            List <TextItemWithUInt32> items = new List <TextItemWithUInt32>();

            foreach (PriceTypes priceType in PriceProviderFuzzworkCoUk.GetSupportedPriceTypes())
            {
                String enumName = Engine.GetPriceTypeName(priceType);
                items.Add(new TextItemWithUInt32(enumName, (UInt32)priceType));
            }

            PopulateCombo(Cmb_FuzzworkCoUk_PriceType, items, (UInt32)m_Settings.FuzzworkCoUk.PriceType);
        }