- 博客(3)
- 收藏
- 关注
转载 MVVM窗体show的弹窗事件
RestMatCutWin restMatCutWindow;//定义一个窗体的全局变量 private void RestMatCutWinExecute() { if (restMatCutWindow==null) { restMatCutWindow = new RestMatCut...
2019-08-19 11:20:00
357
转载 WPF(MVVM) 利用资源字典实现中英文动态切换
1、首先新建两个字典文件en-us.xaml、zh-cn.xaml。定义中英文的字符串在这里面。 2、将两个资源字典添加到App.xaml中,这里注意下,因为两个字典中有同样字符,如果没有动态更改,默认后添加的生效 <ResourceDictionary Source="/Resourcedictionaries\en-us.xaml"/> <...
2019-08-08 14:56:00
1177
转载 WPF 线程开启等待动画
public static Dictionary<string, object> Dic = new Dictionary<string, object>();//定义一个字典类型的接受窗体信息 public static void AwaitAnimation(bool isStart = true) { i...
2019-08-02 10:04:00
448
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人