Example #1
0
        private void TextBox2_TextChanged(object sender, EventArgs e)
        {
            if (textBox2.Text == string.Empty)
            {
                return;
            }

            if (SaleCheckInput.ChcekTextChangeCash(this))
            {
                double change = -(double.Parse(lblDisplayFinalPrice.Text.Trim('£')) - double.Parse(textBox2.Text));
                lblDisplayChange.Text = change.ToString() + " £";
            }
        }
Example #2
0
 private bool CheckCashInput()
 {
     return(SaleCheckInput.CheckCashInput(this));
 }