会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
87
88
89
90
91
2016年5月27日
System.BadImageFormatException: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)
摘要: System.BadImageFormatException: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)项目右键属性->项目设计器->生成->平台->把'默认设置(任何 CPU)'改为x86。因为'任何 CPU'的程序在64位的机器上就会用运行为64位,而64程
阅读全文
posted @ 2016-05-27 14:36 FredGrit
阅读(9922)
评论(0)
推荐(1)
编辑
2016年5月26日
遍历磁盘文件
摘要: FileInfo[] fileList=new DirectoryInfo("C:\\").GetFiles("*.*");遍历文件
阅读全文
posted @ 2016-05-26 22:18 FredGrit
阅读(161)
评论(0)
推荐(0)
编辑
UserControl关闭
摘要: 直接 Application.Current.Shutdown();关闭程序。
阅读全文
posted @ 2016-05-26 17:23 FredGrit
阅读(1084)
评论(0)
推荐(0)
编辑
WPF中Button的背景图片,实现禁止IsMouseOver时显示默认
摘要: <Button x:Name="btnPickUpNum" Click="PickUpNum_OnClick" Grid.Row="1" Grid.Column="2"> <Button.Template> <ControlTemplate TargetType="Button"> <Content
阅读全文
posted @ 2016-05-26 14:56 FredGrit
阅读(464)
评论(0)
推荐(0)
编辑
上一页
1
···
87
88
89
90
91
公告