上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页
摘要: 基础信息 1、MenuItem 样式 <Window.Resources> <Style TargetType="{x:Type MenuItem}"> <!--<Setter Property="Background" Value="#999999" />--> <!--<Setter Prope 阅读全文
posted @ 2016-04-20 11:07 慧由心生 阅读(9970) 评论(1) 推荐(1) 编辑
摘要: 1、如何设置winform窗体透明,但是显示的内容不透明? 方法:BackColor设置:Red(任意)在窗体属性里设置一个“TransparenceKey”的属性为Red 2、如何让C#编译不安全代码(含unsafe的代码) 方法:在“项目” 属性设置界面,找到“生成”选项卡下的“允许不安全代码” 阅读全文
posted @ 2016-04-18 14:42 慧由心生 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 1、generated debug assertion -- File: docsingl.cpp Line: 215 MFC程序vs2008编译通过,运行时出错,无法打开,提示f:\dd\xxxx的docsingl.cpp中的210行,找到以下代码: void CSingleDocTemplate 阅读全文
posted @ 2016-03-21 11:55 慧由心生 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 8、错误 C2440: “static_cast”: 无法从“void (__thiscall CView::* )(UINT,LONG)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)” 问题 原因:VC6.0的消息映射函数方法,升级至VS2005 阅读全文
posted @ 2016-01-14 17:12 慧由心生 阅读(653) 评论(0) 推荐(0) 编辑
摘要: public class Path_File { public string AppPath { get { return AppDomain.CurrentDomain.BaseDirectory; } } public Path_File() { } /// <summary> /// 查找指定 阅读全文
posted @ 2016-01-13 19:08 慧由心生 阅读(1672) 评论(2) 推荐(0) 编辑
摘要: public class DomainHelper { public static void SetDomainValue(string key, object password) { AppDomain.CurrentDomain.SetDa... 阅读全文
posted @ 2015-12-28 09:42 慧由心生 阅读(231) 评论(0) 推荐(0) 编辑
摘要: /// /// 文件名唯一(A.txt => An.txt) /// /// 文件名 /// private string SingleFullName(string fullName) { ... 阅读全文
posted @ 2015-12-21 17:44 慧由心生 阅读(292) 评论(0) 推荐(0) 编辑
摘要: public class WindowsIdentityHelper { private static ILog _logger = LogManager.GetLogger("WindowsIdentityHelper"); /// ///... 阅读全文
posted @ 2015-11-20 18:13 慧由心生 阅读(436) 评论(0) 推荐(0) 编辑
摘要: Windows驱动开发一、前言依据《Windows内核安全与驱动开发》及MSDN等网络质料进行学习开发。二、初步环境1、下载安装WDK7.1.0(WinDDK\7600.16385.1)地址:https://msdn.microsoft.com/en-us/windows/hardware/hh85... 阅读全文
posted @ 2015-11-08 19:57 慧由心生 阅读(11016) 评论(0) 推荐(0) 编辑
摘要: Win7家庭版 已停止工作 阅读全文
posted @ 2015-10-14 20:26 慧由心生 阅读(557) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页