Ejemplo n.º 1
0
        private void ShowGridBtn_Click(object sender, RoutedEventArgs e)
        {
            InitIndicator(CurrentStocks);
            var gridView = new StockGridView(CurrentStocks);

            FillRssInfo(CurrentStockSymbol);
            gridView.Show();
        }
Ejemplo n.º 2
0
        public void LoadStocks()
        {
            string size = SizeDropDownList.SelectedItem.ToString();
            string code = txtCode.Text;
            int    id   = Convert.ToInt32(CategoriesDropDownList.SelectedValue);

            StockGridView.DataSource = _StocksInRepository.GetAllStocks(size, code, id);
            StockGridView.DataBind();
        }