Exemple #1
0
        // Returns to the EmployeePinCodeWindow
        private void BackButton_Click(object sender, RoutedEventArgs e)
        {
            EmployeePinCodeWindow employeePinCodeWindow = new EmployeePinCodeWindow();

            employeePinCodeWindow.GetController(controller);
            employeePinCodeWindow.Show();
            Thread.Sleep(10);
            this.Close();
        }
Exemple #2
0
        /// Goes to EmployeePincodeWindow
        private void GoToPinCodeWindow(object sender, RoutedEventArgs e)
        {
            rectangleRed.Fill = new SolidColorBrush(Color.FromRgb(254, 24, 24));
            EmployeePinCodeWindow employeePinCodeWindow = new EmployeePinCodeWindow();

            employeePinCodeWindow.GetController(controller);
            employeePinCodeWindow.Show();
            Thread.Sleep(10);
            this.Close();
        }