예제 #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            var Page2 = new EnterCredentials();

            Page2.Show();
            this.Close();
        }
예제 #2
0
        private void Cancel_Click(object sender, RoutedEventArgs e)
        {
            LibraryUtils.Cancel();
            var ec = new EnterCredentials();

            ec.Show();
            this.Close();
        }
예제 #3
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            string otp = conotp.Password;
            var    ec  = new EnterCredentials();

            LibraryUtils.OTPSequence(otp);

            if (LibraryUtils.con.Contains("successful"))
            {
                MessageBox.Show("Payment successful");
            }
            else
            {
                MessageBox.Show("Payment unsuccessful");
            }

            ec.Show();
            this.Close();
        }