示例#1
0
 protected virtual void OnStockChange(StockChangeEventArgs e)
 {
     if (StockChange != null)
     {
         StockChange(this, e);
     }
 }
示例#2
0
 void st_StockChange(object sender, StockChangeEventArgs e)
 {
     CheckFilter(e.Stock);
 }
示例#3
0
 void st_StockChange(object sender, StockChangeEventArgs e)
 {
     if (e.Stock.Symbol== "GOOG")
         Console.WriteLine("Google's new price is: {0}", e.Stock.Price);
 }