摘要: C#鼠标点击器using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Threading;using System.Text.RegularExpressions;namespace WindowsFor 阅读全文
posted @ 2012-06-18 10:55 cn_king 阅读(323) 评论(0) 推荐(0) 编辑
摘要: i【XP系统下无法安装Windows Phone 7 Sdk 的解决办法】因每个人的使用习惯或者环境逼迫,现在使用xp的还不少.我个人还在xp中遨游呢...从昨晚到现在没怎么停下休息一直瞎忙碌...今早申请的wp7 激活码到现在还没收到呢,所以安装软件得走点弯道.在xp环境下没安装sdk 使用 Tom XAP Installer 时报错..因为是xp吗所以整个过程中除了Windows Phone 7 Sdk 无法安装到xp系统中去,其它如:zune 等都可以正常安装并连接设备.----------------------------------------------------------- 阅读全文
posted @ 2012-06-15 12:57 cn_king 阅读(1387) 评论(0) 推荐(0) 编辑
摘要: 用命令行进入VirtualBox的安装目录,使用下面的命令:C:\Program Files\Sun\VirtualBox>VBoxManage internalcommandssetvdiuuidD:\path\ubuntu.vdi注意,在virtualbox4.0.4以上该命令改为C:\Program Files\Sun\VirtualBox>VBoxManage internalcommandssethduuidD:\path\ubuntu.vdi然后重新导入即可可以使用 阅读全文
posted @ 2012-06-11 15:11 cn_king 阅读(844) 评论(0) 推荐(0) 编辑
摘要: 拒绝访问 通常是权限问题修改文件夹的权限为所有人,解决 阅读全文
posted @ 2012-06-05 12:06 cn_king 阅读(149) 评论(0) 推荐(0) 编辑
摘要: staticvoidMain(string[]args){varn1=1.5;varn2=2.5;varn3=3.5;varn4=4.5;varn5=5.5;Console.WriteLine(Math.Round(n1));Console.WriteLine(Math.Round(n2));Console.WriteLine(Math.Round(n3));Console.WriteLine(Math.Round(n4));Console.WriteLine(Math.Round(n5));Console.Read(); }//输出结果: 2 2 4 4 6 (四舍五入也有个国际惯例,叫.. 阅读全文
posted @ 2012-05-29 18:00 cn_king 阅读(784) 评论(0) 推荐(0) 编辑
摘要: Example:CSS鼠标手型效果 <a href="#" style="cursor:hand">CSS鼠标手型效果</a>Example:CSS鼠标手型效果 <a href="#" style="cursor:pointer">CSS鼠标手型效果</a>注:pointer也是小手鼠标,建议大家用pointer,因为它可以兼容多种浏览器。Example:CSS鼠标由系统自动给出效果 <a href="#" style="curso 阅读全文
posted @ 2012-05-28 17:18 cn_king 阅读(50257) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-05-28 16:24 cn_king 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 前台:<asp:TextBoxID="txtenddate"CssClass="text_inp"onclick="newCalendar().show(this);"ReadOnly="true"runat="server"></asp:TextBox>后台:Request.Form[txtenddate.UniqueID] 阅读全文
posted @ 2012-05-18 13:17 cn_king 阅读(102) 评论(0) 推荐(0) 编辑
摘要: <%@PageLanguage="C#"AutoEventWireup="true"CodeBehind="DailogTest.aspx.cs"Inherits="WebDailog.DailogTest"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html 阅读全文
posted @ 2012-05-10 00:48 cn_king 阅读(2897) 评论(0) 推荐(0) 编辑
摘要: 1<scriptlanguage="javascript"type="text/javascript">23functionhideView(){4$("#signup").hide();5$("#lean_overlay").fadeOut(200);6}78functionShowView(){9varsig=$("#signup").outerWidth();10var_3=$("<divid='lean_overlay'></div 阅读全文
posted @ 2012-05-09 16:19 cn_king 阅读(205) 评论(0) 推荐(0) 编辑