private void useWallet(object sender, MouseEventArgs e) { // Edit for getting just wallet line later Wallet newWallet = new Wallet(); if (newWallet.Authorized(user, double.Parse(cost.Text), newWallet) == true) { printReciept(); finishOrder(); } else { MessageBox.Show("Insufficient Funds"); return; } }