示例#1
0
        private void DeskStockCtrl_Load(object sender, EventArgs e)
        {
            myStock = MyStock.Instance;
            var dal = new StockDAL();

            DataService.QuerySumInvestFunc = dal.GetSumInvest;
            DataService.GetAllMyStockFunc  = dal.getAllMyStock;
            DataService.AddEvent(Display);
            //StockService.SilverInfoChanged = SilverInfoChanged;
        }
示例#2
0
 private void DeskStockCtrl_Load(object sender, EventArgs e)
 {
     myStock = MyStock.Instance;
     var dal = new StockDAL();
     DataService.QuerySumInvestFunc = dal.GetSumInvest;
     DataService.GetAllMyStockFunc = dal.getAllMyStock;
     DataService.AddEvent(Display);
     //StockService.SilverInfoChanged = SilverInfoChanged;
 }