예제 #1
0
        public MainWindow()
        {
            InitializeComponent();
            combo_stock_index.SelectedIndex = 0;

            DbSql.DBConnect();
            company_infos = DbSql.LoadCompanyList();
            foreach (object obj in company_infos)
            {
                PageEquityList.EquityInfo ci = (PageEquityList.EquityInfo)obj;
                combo_stock_index.Items.Add(ci.index);
            }
        }