摘要: 有时候,打开Notepad++时不希望它自动打开历史文件,此时可进行如下设置: Settings > Preferences... > Backup:uncheck掉Remember current session for next launch即可! 阅读全文
posted @ 2017-08-09 12:39 Avin 阅读(710) 评论(0) 推荐(0) 编辑
摘要: Cited from: http://www.cnblogs.com/renyuan/p/4111695.html 为什么要用INI文件?如果我们程序没有任何配置文件时,这样的程序对外是全封闭的,一旦程序需要修改一些参数必须要修改程序代码本身并重新编译,这样很不好,所以要用配置文件,让程序出厂后还能 阅读全文
posted @ 2017-08-02 11:22 Avin 阅读(584) 评论(0) 推荐(0) 编辑
摘要: 问题描述:有时需要把含图UserControl封装为dll以供外部调用,可当外部调用该dll时,有可能会遇到该UserControl无法加载其中图片的问题。 解决方案:将UserControl中的图片属性中Build Action由“Content”改为“Resource”,其他都不用动(包括保持“ 阅读全文
posted @ 2017-07-31 16:45 Avin 阅读(163) 评论(0) 推荐(0) 编辑
摘要: CornerRadius是Border、Rectangle等控件的圆角属性,其值含义如下: CornerRadius="左上,右上,右下,左下" 阅读全文
posted @ 2017-07-28 10:45 Avin 阅读(1476) 评论(0) 推荐(0) 编辑
摘要: Cited from Microsoft Help: The Stretch property accepts the following values, which the Stretch enumeration defines: None: The TileBrush content does 阅读全文
posted @ 2017-07-24 15:03 Avin 阅读(2081) 评论(0) 推荐(0) 编辑
摘要: refer to: https://stackoverflow.com/questions/4480087/wpf-the-type-name-app-does-not-exist-in-the-type-occurs-after-renaming-mai 问题描述:当创建一个namespace名与 阅读全文
posted @ 2017-07-11 16:47 Avin 阅读(744) 评论(0) 推荐(0) 编辑
摘要: 问题分析:这是由于当前输入方式为“改写”,在此方式下,如果某个位置处后面有其他字符,当在此位置执行输入操作时,就会默认删除其后的所有字符。 解决方案:Word窗口下边缘状态栏,找到“改写”按钮,点击,使其切换为“插入”,问题解决。 说明:如果找不到“改写”按钮,是因为被隐藏了。右键点击状态栏,可将此 阅读全文
posted @ 2017-07-08 10:23 Avin 阅读(446) 评论(0) 推荐(0) 编辑
摘要: fix - 向零方向取整 fix Round towards zero. fix(X) rounds the elements of X to the nearest integers towards zero. 例: t = 7.6806 3.5388 3.61302.3309 3.4719 7. 阅读全文
posted @ 2017-06-23 10:17 Avin 阅读(1031) 评论(0) 推荐(0) 编辑
摘要: 以下参考自:http://blog.csdn.net/huutu/article/details/49159895 其它常用: 匹配字符串全部是中文字符的正则表达式: 匹配字符串中包含中文字符的正则表达式: 匹配字符串中以中文字符开头的正则表达式: 匹配字符串中以中文字符结尾的正则表达式: 阅读全文
posted @ 2017-05-23 21:37 Avin 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 实测发现上述两个方法不稳定,有时成功有时失败!!!不可取!!! 作为代替,以下方法实测有效,稳定性也很好,推荐使用: 阅读全文
posted @ 2017-05-23 21:25 Avin 阅读(481) 评论(0) 推荐(0) 编辑