Esempio n. 1
0
        private void Tester_Click(object sender, RoutedEventArgs e)//Reads typed text in box
        {
            Classes.Information Lock = new Classes.Information();

            var UserOne = Classes.Information.AccountCreation("John", "Doe", "1234", "5000");

            string PIN = KeyBox.Text;

            if (PIN == UserOne.AccountPIN)//Checks if the PIN matches the recorded PIN
            {
                TestingBox.Text = "Correct PIN";
            }
            else
            {
                TestingBox.Text = "Incorrect PIN, Try Again";
            }
        }
Esempio n. 2
0
        public ObservableCollection <Classes.AccountCalculations> Calculator = new ObservableCollection <Classes.AccountCalculations>(); //Gives access to AccountCalcutaion.cs



        private void Begin(object sender, RoutedEventArgs e)//Creates the user information
        {
            Classes.Information File = new Classes.Information();

            var UserOne = Classes.Information.AccountCreation("John", "Doe", "1234", "5000");
        }