摘要: 阅读全文
posted @ 2015-08-19 17:58 晴天娃娃、 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 发布一篇试试。 阅读全文
posted @ 2015-08-19 17:51 晴天娃娃、 阅读(120) 评论(0) 推荐(0) 编辑
摘要: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\FontAndColors\ 删除这个下面的CACHE 只留一个lastreset就恢复了 阅读全文
posted @ 2012-12-08 12:00 晴天娃娃、 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 1.多年的努力带来的只是无法兑现的承诺和毫无说服力的成果。2.想要获取成功,我们必须从天然的智能引擎------新大脑皮层开始探索,必须从大脑内部提取智能。除此之外,别无他途。P343.真正让人惊讶和感兴趣的不是物种之间的差别,而是他们的相似性。4.典型的皮层区域所学得的就是恒定表征序列,这些序列本身也是恒定记忆的序列。 阅读全文
posted @ 2012-04-13 18:33 晴天娃娃、 阅读(587) 评论(0) 推荐(0) 编辑
摘要: Response.ClearContent(); Response.Buffer = true; Response.Charset = "utf-8"; Response.AppendHeader("Content-Disposition", "attachment; filename=EnergyReport" + DateTime.Now.ToString("_yyyyMMdd_HHmmss") + ".xls"); Response.ContentEncoding = System.Tex 阅读全文
posted @ 2011-12-23 11:18 晴天娃娃、 阅读(348) 评论(0) 推荐(0) 编辑
摘要: //2008年4月24日System.DateTime.Now.ToString("D");//2008-4-24System.DateTime.Now.ToString("d");//2008年4月24日 16:30:15System.DateTime.Now.ToString("F");//2008年4月24日 16:30System.DateTime.Now.ToString("f");//2008-4-24 16:30:15System.DateTime.Now.ToString("G" 阅读全文
posted @ 2011-12-07 11:47 晴天娃娃、 阅读(421) 评论(0) 推荐(0) 编辑
摘要: [System.Runtime.InteropServices.DllImport(”gdi32.dll”)] public static extern int BitBlt(IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, UInt32 dwRop); //创建桌面句柄 [System.Runtime.InteropServices.DllImportAttribute(”gdi32.dll”)] public static extern. 阅读全文
posted @ 2011-07-25 20:17 晴天娃娃、 阅读(1773) 评论(1) 推荐(0) 编辑
摘要: 1 using System;2 using System.Collections.Generic;3 using System.Text;4 5 namespace AnyNumberPlus26 {7 class Program8 {9 static void Main(string[] args)10 {11 string num1 = "0" + "145435435";12 string num2 = "0" + "99";13 string resault = num1.Length <num2. 阅读全文
posted @ 2011-07-12 19:23 晴天娃娃、 阅读(516) 评论(0) 推荐(0) 编辑
摘要: .Net封装好的方法int x = Control.MousePosition.X;int y = Control.MousePosition.Y;用API方法using System.Runtime.InteropServices;Point p;[DllImport("user32.dll")]public static extern bool GetCursorPos(out Point pt);private void timer1_Tick(object sender, EventArgs e){ GetCursorPos(out p); label1.Text 阅读全文
posted @ 2011-05-03 08:41 晴天娃娃、 阅读(5212) 评论(0) 推荐(0) 编辑
摘要: 首先,有一点必须知道,XML区分大小写~~~~<MyElement>和<myElement>是不同的!一、XML中的元素 每个XML开始标记,如<tag>,都必须有一个结束标记</tag>。必须的! 举个例子: <MyElement> <MyName>You Guess</MyName> <MyAge>You Guess again</MyAge> <MySex>You Guess again and again</MySex> </MyElement> 阅读全文
posted @ 2011-03-11 11:51 晴天娃娃、 阅读(292) 评论(0) 推荐(0) 编辑