private void WithdrawButtonPush(object sender, MouseButtonEventArgs e)
        {
            Label label   = (Label)sender;
            int   ammount = Convert.ToInt32(label.Content.ToString().Split('£')[1]);

            if (customer.withdraw(ammount))
            {
                Console.WriteLine("Success");
                WithdrawConfirmPopup confirm = new WithdrawConfirmPopup(this, label.Content.ToString(), customer);
                confirm.Show();
            }
            else
            {
                Console.WriteLine("Not Enough Funds");
                UITimers           timer      = new UITimers();
                WithdrawErrorPopup errorPopup = new WithdrawErrorPopup();
                errorPopup.Show();
                timer.popUpWindowTimer(errorPopup, 15);
            }
        }
        public ResetPinPopup(ResetPinWindow caller, bool isSuccessful)
        {
            InitializeComponent();
            this.caller       = caller;
            this.isSuccessful = isSuccessful;

            timer = new UITimers();
            timer.popUpWindowTimer(this, 20);

            if (isSuccessful)
            {
                successContent.Visibility = Visibility.Visible;
                failedContent.Visibility  = Visibility.Hidden;
                contentBorder.BorderBrush = new SolidColorBrush(Color.FromArgb(0xFF, 0x2B, 0xE2, 0x0E));
            }
            else
            {
                successContent.Visibility = Visibility.Hidden;
                failedContent.Visibility  = Visibility.Visible;
            }
        }
        private void Window_ContentRendered(object sender, EventArgs e)
        {
            UITimers timer = new UITimers();

            timer.popUpWindowTimer(this, 15);
        }