//private void Border_PreviewMouseDown(object sender, MouseButtonEventArgs e) //{ // if (nextStep != null) // nextStep(); // Hide(); //} public static void show(bool isSuccess, Action nextStep_, string txt) { nextStep = nextStep_; TH.addOnceUI(new Action(() => { if (success == null) { success = new BitmapImage(new Uri(@"../Soruce/Inages_ZQ/成功.png", UriKind.Relative)); failed = new BitmapImage(new Uri(@"../Soruce/Images/失败.png", UriKind.Relative)); } if (st == null) { st = new ShowTip(); } if (isSuccess) { st.ico.Source = success; } else { st.ico.Source = failed; } st.tip.Text = txt; st.Show(); })); }
async private void PutCardOut_Click(object sender, RoutedEventArgs e) { await TaskMore.Run(new Action(() => { if (B_ReadSSCard.putCardOut()) { ShowTip.show(true, null, "请取走您的社保卡!"); } else { ShowTip.show(false, null, "出卡失败"); } })); }
private void JrBalance_Click(object sender, RoutedEventArgs e) { ShowTip.show(false, null, "功能尚未开放,敬请期待"); }
private void Lingka_Click(object sender, RoutedEventArgs e) { //ZhaoQing.LinagKa.GetObject().Goin(); ShowTip.show(false, null, "功能尚未开放,敬请期待"); }
private void Huanka_Click(object sender, RoutedEventArgs e) { ShowTip.show(false, null, "功能尚未开放,敬请期待"); //YTH.ZhanJiang.huanka.GetObject().Goin(); }