摘要: 1、通过添加应用程序清单文件: Vista 和 Windows 7 操作系统为了加强安全,增加了 UAC(用户账户控制) 的机制,如果 UAC 被打开,用户即使是以管理员权限登录,其应用程序默认情况下也无法对系统目录,系统注册表等可能影响系统运行的设置进行写操作。这个机制大大增强了系统的安全性,但对 阅读全文
posted @ 2020-10-26 10:44 六镇2012 阅读(972) 评论(0) 推荐(0) 编辑
摘要: System.Windows.Forms.Application.ExitThread(); System.Windows.Forms.Application.Exit(); System.Windows.Forms.Application.Restart(); Process.GetCurrent 阅读全文
posted @ 2020-10-09 17:38 六镇2012 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 通过自定义活动(Custom Action)卸载 https://blog.csdn.net/qq_20849387/article/details/78422081 https://blog.csdn.net/qq_20849387/article/details/78422432 https:/ 阅读全文
posted @ 2020-09-03 16:53 六镇2012 阅读(1981) 评论(0) 推荐(0) 编辑
摘要: 参考: wpf passwordbox控件 光标移到最后 WPF学习笔记-TextBox光标位置如何放到最后? PasswordBox /// <summary> /// 设置光标位置 /// </summary> /// <param name="passwordBox"></param> /// 阅读全文
posted @ 2020-09-02 17:12 六镇2012 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 参考网址:https://www.e-learn.cn/tag/microsoft-ui-automation https://www.e-learn.cn/topic/3662339 https://social.msdn.microsoft.com/Forums/sqlserver/en-US/ 阅读全文
posted @ 2020-08-25 14:05 六镇2012 阅读(963) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/1021829 阅读全文
posted @ 2020-08-19 17:24 六镇2012 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public static string ConvertHtml2String(string html) { html = html.Trim(); html = Regex.Replace(html, "(\\<script(.+?)\\</script\\>)|(\\<style(.+?)\\< 阅读全文
posted @ 2020-08-17 14:09 六镇2012 阅读(209) 评论(0) 推荐(0) 编辑
摘要: public T GetChildOfType<T>(DependencyObject depObj) where T : DependencyObject { if (depObj == null) return null; for (int i = 0; i < VisualTreeHelper 阅读全文
posted @ 2020-07-30 17:08 六镇2012 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Postman使用详解 转载于https://blog.csdn.net/fxbin123/article/details/80428216 阅读全文
posted @ 2020-07-14 16:28 六镇2012 阅读(116) 评论(0) 推荐(0) 编辑
摘要: WPF-日期时间控件 DateTimePicker 的编写 wpf 时间控件只显示年月 WPF自定义控件与样式(5)-Calendar/DatePicker日期控件自定义样式及扩展 https://stackoverflow.com/questions/1798513/wpf-toolkit-dat 阅读全文
posted @ 2020-07-09 16:56 六镇2012 阅读(115) 评论(0) 推荐(0) 编辑