BindCardView.xaml.cs 924 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Windows;
  6. using System.Windows.Controls;
  7. using System.Windows.Data;
  8. using System.Windows.Documents;
  9. using System.Windows.Input;
  10. using System.Windows.Media;
  11. using System.Windows.Media.Imaging;
  12. using System.Windows.Shapes;
  13. using Muchinfo.MTPClient.Bank.ViewModels;
  14. using Muchinfo.MTPClient.Data.Model.Bank;
  15. using Xceed.Wpf.Toolkit;
  16. namespace Muchinfo.MTPClient.Bank.Views
  17. {
  18. /// <summary>
  19. /// BindCardView.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class BindCardView : Window
  22. {
  23. public BindCardView(SigningBank signingBank)
  24. {
  25. InitializeComponent();
  26. this.DataContext = new BindCardViewModel(signingBank);
  27. }
  28. private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
  29. {
  30. this.DialogResult = false;
  31. }
  32. }
  33. }