private void cashOkClick(object sender, EventArgs e) { currentState = currentState.handleCashOkClick(lang); //Create new class for storing notes' quantity //this.Close(); }
public CashSelector(string language, Cash selectedCash) { InitializeComponent(); lang = language; currentState = new CashSelectorState(this, language, selectedCash); }
private void c100CntM_Click(object sender, EventArgs e) { currentState = currentState.handleC100CntMClick(); }
private void c50CntP_Click(object sender, EventArgs e) { currentState = currentState.handleC50CntPClick(); }
private void pictureBox5_Click(object sender, EventArgs e) { currentState = currentState.handlePicBox5Click(); }