コード例 #1
0
 protected virtual void OnPriceChanged(PriceChangedEventArgs e)
 {
     if (PriceChanged != null)
     {
         PriceChanged(this, e);
     }
 }
コード例 #2
0
 private static void Stock_PriceChanged1(object sender, PriceChangedEventArgs e)
 {
     Console.WriteLine("MSFT: {0} {1}", e.LastPrice, e.NewPrice);
 }