/// <summary> /// 结束提示 /// </summary> /// <param name="time"></param> void Ban_FinishedEvent(string time) { ShowTip tip = new ShowTip(); tip.Owner = this; tip.lbTip.Content = "恭喜你完成了!真棒,成绩:" + time; tip.ShowDialog(); }
/// <summary> /// 切换图片数字模式 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MenuItem_Click(object sender, RoutedEventArgs e) { if (string.IsNullOrEmpty(FileName)) { ShowTip tip = new ShowTip(); tip.Owner = this; tip.lbTip.Content = "请先在☆设置里选择本地拼图路径"; tip.ShowDialog(); return; } IsImagePanKey = !IsImagePanKey; }