ChangeEmailDialog.xaml.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Navigation;
  14. using System.Windows.Shapes;
  15. namespace PDF_Master.Views.Dialog.ServiceDialog
  16. {
  17. /// <summary>
  18. /// ChangeEmailDialog.xaml 的交互逻辑
  19. /// </summary>
  20. public partial class ChangeEmailDialog : UserControl
  21. {
  22. public ChangeEmailDialog()
  23. {
  24. InitializeComponent();
  25. }
  26. private void BtnNext_Click(object sender, RoutedEventArgs e)
  27. {
  28. if (StepBar.Items.Count > 0 && StepBar.CurrentIndex < (StepBar.Items.Count - 1))
  29. {
  30. StepBar.CurrentIndex++;
  31. }
  32. }
  33. private void BtnPrevious_Click(object sender, RoutedEventArgs e)
  34. {
  35. if (StepBar.Items.Count > 0 && StepBar.CurrentIndex != 0)
  36. {
  37. StepBar.CurrentIndex--;
  38. }
  39. }
  40. private void TextBox_PreviewTextInput(object sender, TextCompositionEventArgs e)
  41. {
  42. }
  43. }
  44. }