上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 85 下一页
  2014年5月16日
摘要: 2- You may have question marks in your head, especially regarding where the probabilities in the Expectation step come from. Please have a look at the... 阅读全文
posted @ 2014-05-16 11:38 武胜-阿伟 阅读(818) 评论(0) 推荐(0)
摘要: 这是两段朴实的创业笔记,作者是王信文,2009年南京大学本科毕业,2009年9月到2013年3月在腾讯上海的互动娱乐部门工作,2013年3月到现在和几个前同事一起创立了莉莉丝游戏(手游刀塔传奇是他们后来的创业作品)。偶然间看到了他2013年刚创业时写的两篇创业笔记,于是摘选整合了一下,发出来,大家一... 阅读全文
posted @ 2014-05-16 08:20 武胜-阿伟 阅读(287) 评论(0) 推荐(0)
  2014年5月13日
摘要: http://www.codeproject.com/Articles/770323/How-to-Convert-a-Date-Time-to-X-minutes-ago-in-CshIn one of our previous posts, we saw how can we convert a... 阅读全文
posted @ 2014-05-13 08:27 武胜-阿伟 阅读(318) 评论(0) 推荐(0)
  2014年5月11日
摘要: http://msdn.microsoft.com/zh-cn/library/dd997372%28v=vs.110%29.aspx内存映射文件 .NET Framework 4.5 其他版本 1(共 1)对本文的评价是有帮助 - 评价此主题 内存映射文件包含虚拟内存中文件的内容。 利用文件... 阅读全文
posted @ 2014-05-11 09:34 武胜-阿伟 阅读(6205) 评论(0) 推荐(1)
  2014年5月8日
摘要: class Ref{ public T Value; public Ref() { } public Ref(T value) { this.Value = value; }}Then use it like this:class A{ ... 阅读全文
posted @ 2014-05-08 08:32 武胜-阿伟 阅读(589) 评论(0) 推荐(0)
摘要: public class Employee{ public Employee() { this.Insurance = new Insurance(); } // Perhaps another constructor for the name? pub... 阅读全文
posted @ 2014-05-08 08:25 武胜-阿伟 阅读(210) 评论(0) 推荐(0)
摘要: Either way, can't you just call MessageBox.Show(rm.GetString("messageboxData", ci))class MyClass{ CultureInfo currentCultureInfo; public MyClass... 阅读全文
posted @ 2014-05-08 08:18 武胜-阿伟 阅读(695) 评论(0) 推荐(0)
  2014年5月7日
摘要: 用C#调用Windows API向指定窗口发送 一、调用Windows API。 C#下调用Windows API方法如下: 1、引入命名空间:usingSystem.Runtime.InteropServices; 2、引用需要使用的方法,格式:[DllImport("DLL文件")]方法的声明;... 阅读全文
posted @ 2014-05-07 09:16 武胜-阿伟 阅读(19186) 评论(3) 推荐(4)
摘要: 1、要善用spy++2、不同的控件主要靠GetDlgCtrlID去区分3、要获得另一个进程的焦点窗口(GetFocus)需要调用AttachThreadInput4、尽量少用keybd_event模拟键盘输入,主要是该函数不能保证按键消息一定能被特定进程接收到。取而代之的是SendMessage(h... 阅读全文
posted @ 2014-05-07 08:56 武胜-阿伟 阅读(20769) 评论(1) 推荐(0)
摘要: 首先你会发现keybd_event函数中是没有窗口句柄作为参数的,好奇的你一定会觉得很奇怪,那是因为,keybd_event是全局模拟按键的,只对前台窗口(即当前的活动窗口)才可以,但是如果模拟的按键正好也是某个窗口的全局热键消息,那该窗口也能接收到的 而SendMessage 、PostMessa... 阅读全文
posted @ 2014-05-07 08:55 武胜-阿伟 阅读(7460) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 85 下一页