void _payer_OnPayPrice(object sender, PriceEventArgs e) { if (OnPayPrice != null) { OnPayPrice(this, e); } }
void _machine_OnPayPrice(object sender, PriceEventArgs e) { switch (e.LineNumber) { case 1: lblGainLine2.Text = e.PriceValue.ToString(); lblPriceName2.Text = e.PriceName; break; case 2: lblGainLine1.Text = e.PriceValue.ToString(); lblPriceName1.Text = e.PriceName; break; case 3: lblGainLine3.Text = e.PriceValue.ToString(); lblPriceName3.Text = e.PriceName; break; } }
void _payer_OnPayPrice(object sender, PriceEventArgs e) { if (OnPayPrice != null) OnPayPrice(this, e); }