using Muchinfo.MTPClient.Infrastructure.MessageBox; using System.Windows; namespace Muchinfo.MTPClient.Bank.Views { /// /// MsgAlter.xaml 的交互逻辑 /// public partial class MsgAlter : Window { public MsgAlter(string Url ,string tip="") { InitializeComponent(); this.Tb_Url.Text = Url; TxtBlock.Text = tip; } private void Button_Click(object sender, RoutedEventArgs e) { try { Clipboard.SetDataObject(this.Tb_Url.Text); MessageBoxHelper.ShowInfo(Muchinfo.MTPClient.Resources.Client_Resource.Bank_CopyToPasteBoard, Muchinfo.MTPClient.Resources.Client_Resource.Bank_Tips); } catch { } } private void Button_Click_1(object sender, RoutedEventArgs e) { this.Close(); } } }