Beispiel #1
0
        private void EditListControl_Load(object sender, EventArgs e)
        {
            cmbHistoricalPeriod.SelectedIndex = 0;
            cmbContinuationType.Items.Clear();
            cmbContinuationType.Items.Add(eTimeSeriesContinuationType.tsctNoContinuation);
            cmbContinuationType.Items.Add(eTimeSeriesContinuationType.tsctStandard);
            cmbContinuationType.Items.Add(eTimeSeriesContinuationType.tsctStandardByMonth);
            cmbContinuationType.Items.Add(eTimeSeriesContinuationType.tsctActive);
            cmbContinuationType.Items.Add(eTimeSeriesContinuationType.tsctActiveByMonth);
            cmbContinuationType.Items.Add(eTimeSeriesContinuationType.tsctAdjusted);
            cmbContinuationType.Items.Add(eTimeSeriesContinuationType.tsctAdjustedByMonth);
            cmbContinuationType.SelectedIndex = 0;

            var symbolsList = AdminDatabaseManager.GetSymbols();

            foreach (var symbol in symbolsList)
            {
                lbAvbList.Items.Add(symbol.SymbolName);
            }
        }
Beispiel #2
0
        private void EditListControl_Load(object sender, EventArgs e)
        {
            OldGroupName = textBoxXListName.Text;

            var symbolsList = AdminDatabaseManager.GetSymbols();

            foreach (var symbol in symbolsList)
            {
                var exist = false;
                foreach (var item in lbSelList.Items)
                {
                    if (item.ToString() == symbol.SymbolName)
                    {
                        exist = true;
                    }
                }
                if (!exist)
                {
                    lbAvbList.Items.Add(symbol.SymbolName);
                }
            }
        }