private void Numpad0_Click(object sender, EventArgs e) { //to prevent case starting at 0 if (txtQuantity.Text != "") { txtQuantity.AppendText("0"); checkQuantitySize(); } }