06 2011 档案

摘要:<a style="cursor:hand" onclick="this.style.behavior="url(#default#homepage)"; this.setHomePage("yourURL">设为首页</a> <a style="cursor:hand" onclick="window.external.AddFavorite(location.href,document.title);">加入收藏</a> 阅读全文
posted @ 2011-06-28 17:29 Yao,Mane 阅读(207) 评论(0) 推荐(0) 编辑
摘要:其实这一部分的资料网上很多,也看了很多的例子,不过大部分都不是自己想要的结果,所以就综合网上的资料整理了一下,放在这里吧,虽然现在放弃WPF了,不过以后还是想接着学一下,先放着吧就。 标题栏的移动: 其实这部分还是很简单的,只需加一个(其他布局也可以),然后响应鼠标移动事件就好了。事件响应时的代码也非常简单,判断现在鼠标是否在按下状态,如果是,调用窗口移动命令。<GridName="titleBar"VerticalAlignment="Top"Height="40"Background="#0F4378"M 阅读全文
posted @ 2011-06-17 17:25 Yao,Mane 阅读(1145) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Text;using System.Management;//硬件获取using System.IO;//using System.Security.Cryptography;//namespace PurviewSoft{ public class PurviewSoftClass { /// <summary> /// 获取CPU编号 /// </summary> /// <returns>返回CPU序列号</returns> 阅读全文
posted @ 2011-06-08 13:59 Yao,Mane 阅读(762) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示