예제 #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;
 }