会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
慧由心生
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
30
下一页
2016年4月20日
WPF:MenuItem样式
摘要: 基础信息 1、MenuItem 样式 <Window.Resources> <Style TargetType="{x:Type MenuItem}"> <!--<Setter Property="Background" Value="#999999" />--> <!--<Setter Prope
阅读全文
posted @ 2016-04-20 11:07 慧由心生
阅读(10190)
评论(1)
推荐(1)
2016年4月18日
C#:Winform技巧
摘要: 1、如何设置winform窗体透明,但是显示的内容不透明? 方法:BackColor设置:Red(任意)在窗体属性里设置一个“TransparenceKey”的属性为Red 2、如何让C#编译不安全代码(含unsafe的代码) 方法:在“项目” 属性设置界面,找到“生成”选项卡下的“允许不安全代码”
阅读全文
posted @ 2016-04-18 14:42 慧由心生
阅读(379)
评论(0)
推荐(0)
2016年3月21日
C++:FMC 错误
摘要: 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 慧由心生
阅读(654)
评论(0)
推荐(0)
2016年1月14日
VS中遇到的奇怪问题
摘要: 8、错误 C2440: “static_cast”: 无法从“void (__thiscall CView::* )(UINT,LONG)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)” 问题 原因:VC6.0的消息映射函数方法,升级至VS2005
阅读全文
posted @ 2016-01-14 17:12 慧由心生
阅读(696)
评论(0)
推荐(0)
2016年1月13日
C#:文件、路径(Path_File)
摘要: public class Path_File { public string AppPath { get { return AppDomain.CurrentDomain.BaseDirectory; } } public Path_File() { } /// <summary> /// 查找指定
阅读全文
posted @ 2016-01-13 19:08 慧由心生
阅读(1696)
评论(2)
推荐(0)
2015年12月28日
DomainHelper
摘要: public class DomainHelper { public static void SetDomainValue(string key, object password) { AppDomain.CurrentDomain.SetDa...
阅读全文
posted @ 2015-12-28 09:42 慧由心生
阅读(246)
评论(0)
推荐(0)
2015年12月21日
文件名唯一(A.txt => An.txt)
摘要: /// /// 文件名唯一(A.txt => An.txt) /// /// 文件名 /// private string SingleFullName(string fullName) { ...
阅读全文
posted @ 2015-12-21 17:44 慧由心生
阅读(303)
评论(0)
推荐(0)
2015年11月20日
管理员身份运行程序
摘要: public class WindowsIdentityHelper { private static ILog _logger = LogManager.GetLogger("WindowsIdentityHelper"); /// ///...
阅读全文
posted @ 2015-11-20 18:13 慧由心生
阅读(448)
评论(0)
推荐(0)
2015年11月8日
Windows驱动开发(中间层)
摘要: 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 慧由心生
阅读(11411)
评论(0)
推荐(0)
2015年10月14日
Win7家庭版包“已停止工作”
摘要: Win7家庭版 已停止工作
阅读全文
posted @ 2015-10-14 20:26 慧由心生
阅读(576)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
30
下一页
公告