Exemple #1
0
    public void checkSaldo()
    {
        Saldo saldoDisplay = new Saldo(saldo);

        //saldoDisplay.Show();
        //saldoDisplay.Refresh();
        while (true)
        {
            String input = arduino.getString();
            if (input.Contains("*"))
            {
                saldoDisplay.Hide();
                pin();
                break;
            }
            else if (input.Contains("#"))
            {
                DankU goAway = new DankU();
                endOfSession = true;
                saldoDisplay.Close();
                break;
            }
        }
    }