代码改变世界

阅读排行榜

WPF之DockPanel 、 StackPanel

2010-10-26 20:36 by 观海看云, 956 阅读, 收藏,
摘要: <Window x:Class="WPFdemo1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="327" Width="729"&... 阅读全文

Win7 安装.net framework 4.0 失败,错误HRESULT 0xc8000222解决办法

2012-02-08 15:57 by 观海看云, 946 阅读, 收藏,
摘要: 之前装Viusal Stuido 2010 一直失败,其实在在安装.net framework 4.0时就失败……后来就单独安装.net framework 4.0,结果还是失败,出现HRESULT 0xc8000222错误代码,去官网上查找,发现作如下操作步骤即可This behavior may occur if the temporary folder of Windows Update has been corrupted. We can refer to the following steps to rename this folder. Please be assured the 阅读全文

wpf获取和设置应用程序范围的资源

2011-10-18 23:05 by 观海看云, 944 阅读, 收藏,
摘要: Application 为共享的资源 Resources 公开应用程序范围的存储区。 存储在 Resources 中的资源可以从在应用程序的 Application 对象 范围内执行的任何代码(即,可访问 Current 的代码)中获得。 另外,还可在资源查找路径中使用 Resources。<Application.Resources><SolidColorBrush x:Key="ApplicationScopeResource" Color="White"></SolidColorBrush></Applic 阅读全文

SQLite3创建数据库的方法

2014-04-23 14:59 by 观海看云, 940 阅读, 收藏,
摘要: 界面和MYSQL一样,都是CMD界面,但不是在SQLite.exe中创建数据库:有关SQLite3使用:1.将sqlite3.exe文件放在任何位置(本人放在E:\Phplearn)2.在CMD下进入到E:\Phplearn下(cd .. cd E:\phplearn)3.在CMD命令提示符下输入s... 阅读全文

css让页面居中

2009-12-08 08:23 by 观海看云, 919 阅读, 收藏,
摘要: 1.我们常用的margin:0 auto;方法这个方法是大家用的最多的方法,使用的时候必须为容器制定宽度!例子: #main {width:960px;margin:0 auto;}这个在大部分浏览器里面都可以很好的实现效果。但是在IE6之前的版本中却不被支持,下面看一下第二种方法2. 用text-align实现居中,这个方法其实算是一个hack。这个方法把整个页面当作文本对待,把body的属性设... 阅读全文
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 58 下一页