MsgAlter.xaml.cs 869 B

123456789101112131415161718192021222324252627282930
  1. using Muchinfo.MTPClient.Infrastructure.Windows;
  2. using Muchinfo.MTPClient.Resources;
  3. using Muchinfo.WPF.Controls.Windows;
  4. using System.Windows;
  5. using Muchinfo.MTPClient.Infrastructure.MessageBox;
  6. namespace Muchinfo.MTPClient.Account.Views
  7. {
  8. /// <summary>
  9. /// MsgAlter.xaml 的交互逻辑
  10. /// </summary>
  11. public partial class MsgAlter : TradeAccountWindow
  12. {
  13. public MsgAlter(string Url)
  14. {
  15. InitializeComponent();
  16. this.Tb_Url.Text = Url;
  17. }
  18. private void Button_Click(object sender, RoutedEventArgs e)
  19. {
  20. try
  21. {
  22. Clipboard.SetDataObject(this.Tb_Url.Text);
  23. MessageBoxHelper.ShowInfo(Muchinfo.MTPClient.Resources.Client_Resource.Bank_CopyToPasteBoard, Client_Resource.Bank_Tips);
  24. }
  25. catch { ;}
  26. }
  27. }
  28. }