2019年12月2日

Popup a window before the MainWindow

摘要: protected override void OnStartup(StartupEventArgs e) { Window w = new Window(); w.ShowDialog(); base.OnStartup(e); } 当w窗口关闭的时候会结束整个进程。 原因:https://doc 阅读全文

posted @ 2019-12-02 17:03 冰凌灵雨 阅读(78) 评论(0) 推荐(0) 编辑

2019年6月24日

C++/CLI 中使用 ref 和 out

摘要: void fun(int^ % i){} // C# ref void fun([out]int^ % i) {} // C# out 阅读全文

posted @ 2019-06-24 10:47 冰凌灵雨 阅读(306) 评论(0) 推荐(0) 编辑

2018年11月15日

为DataGridTemplateColumn设置快捷菜单

摘要: DataGridTemplateColumn 设置ClipboardContentBinding="{Binding 属性}" 阅读全文

posted @ 2018-11-15 11:03 冰凌灵雨 阅读(105) 评论(0) 推荐(0) 编辑

2018年3月1日

WPF Build Action

摘要: None: The file is not included in the project output group and is not compiled in the build process. An example is a text file that contains documenta 阅读全文

posted @ 2018-03-01 17:05 冰凌灵雨 阅读(329) 评论(0) 推荐(0) 编辑

2017年12月20日

Python 中的 if __name__ == '__main__' 该如何理解

摘要: 这个问题来自于知乎用户的提问,当时看到这个问题,我只是做了下简单的回答。后来我发现,对于很多人来说,更准确的说应该是大部分的 Python 初学者,对这个问题理解的不是很深刻。所以这里我来做下总结,并试图把这个问题说明白。 程序入口 对于很多编程语言来说,程序都必须要有一个入口,比如 C,C++,以 阅读全文

posted @ 2017-12-20 11:03 冰凌灵雨 阅读(292) 评论(0) 推荐(0) 编辑

2017年11月29日

Caliburn.Micro 自定义View和ViewModel的匹配规则

摘要: 使用TypeMappingConfiguration类 阅读全文

posted @ 2017-11-29 16:34 冰凌灵雨 阅读(470) 评论(0) 推荐(0) 编辑

2017年11月27日

LCID

摘要: Language Location (or type) Language ID Language tag Supported version Afar 0x1000 aa Release 9 Afar Djibouti 0x1000 aa-DJ Release 9 Afar Eritrea 0x10 阅读全文

posted @ 2017-11-27 10:35 冰凌灵雨 阅读(111) 评论(0) 推荐(0) 编辑

2017年10月18日

简单图标转xaml代码

摘要: 工具 原图 步骤 1,使用钢笔工具勾勒出大致路径 2,将工作路径转为形状路径 3,图层右键->复制SVG <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1.27cm" 阅读全文

posted @ 2017-10-18 20:28 冰凌灵雨 阅读(287) 评论(0) 推荐(0) 编辑

2017年10月17日

WPF Aero Glass Window

摘要: 用法 阅读全文

posted @ 2017-10-17 20:00 冰凌灵雨 阅读(1619) 评论(6) 推荐(0) 编辑

导航