protected virtual void OnPriceChange(ChangePriceArgs e) { EventHandler <ChangePriceArgs> handler = PriceChanged; if (handler != null) { handler(this, e); } }
private void OnPriceChange(object sender, ChangePriceArgs e) { sum += e.PriceChange; }