首页 > 2015年10月31日 > 全部分享
Duilib源码分析(四)绘制管理器—CPaintManagerUI
上节中提到在遍历创建控件树后,执行了以下操作: 1. CDialogBuilder构建各控件对象并形成控件树,并返回第一个控件对象pRoot; 2. m_pm.AttachDialog(pRoot);m_pm.AddNotifier(this);将控件attach到CPaintManagerUI m...
分类:其他   时间:2015-10-31 20:03:24    收藏:0  评论:0  赞:0  阅读:1313
Compare Version Numbers
Compare two version numbers version1 and version2.If version1 > version2 return 1, if version1 v2) return 1; else if(v2 > v1) return -1; else { ...
分类:其他   时间:2015-10-31 20:03:14    收藏:0  评论:0  赞:0  阅读:220
SSH客户端(如PuTTY)ssh远程登录Linux非常慢的解决方法
转:http://blog.useasp.net/archive/2014/05/19/solved-the-problem-of-ssh-client-such-as-putty-remote-login-linux-very-slowly.aspxssh -v ssh_test@192.168....
分类:系统服务   时间:2015-10-31 20:03:04    收藏:0  评论:0  赞:0  阅读:432
一些常见http状态码
# encoding=utf-8#python 2.7.10#xiaodeng#http状态码#HTTP权威指南 10页#一些常见状态码:200 OK,文档正确返回302 重定向,到其他地方去获取资源404 Not Found。无法找到该资源#http...
分类:Web开发   时间:2015-10-31 20:02:54    收藏:0  评论:0  赞:0  阅读:363
WebBrowserControl
Before navigating the URL, write meta into webbrowser's documenttext property as follows://Setting compatible mode of IE.this.m_oWebBrowser.DocumentTe...
分类:Web开发   时间:2015-10-31 20:02:44    收藏:0  评论:0  赞:0  阅读:325
javascript常用数组算法总结
不管是在面试中还是在笔试中,我们都会被经常问到关于javascript数组的一些算法,比方说数组去重、数组求交集、数组扰乱等等。今天抽点时间把javascript中的一些常用的数组算法做一下总结,以方便大家面试笔试或者日常开发过程中用到。其中部分算法来自网络,这里做了下汇总整理。文章末尾我会把参考的...
分类:编程语言   时间:2015-10-31 20:02:14    收藏:0  评论:0  赞:0  阅读:387
a kind of async programming in c#, need to reference definition
void Main(){ Run d=new Run(RunHandler); IAsyncResult result= d.BeginInvoke(new AsyncCallback(CallBack),new string[]{"sdf","sdffd"}); IAsyncResult res=...
分类:Windows开发   时间:2015-10-31 20:02:04    收藏:0  评论:0  赞:0  阅读:278
[java作业]Fan、求直线交点、Triangle2D、选课
public class Fan { public static void main(String[] args) { Fan fan1 = new Fan(), fan2 = new Fan(); fan1.m...
分类:编程语言   时间:2015-10-31 20:01:44    收藏:0  评论:0  赞:0  阅读:687
DirectUI 学习笔记1-源码下载与环境配置
我们可以通过Github上下载开源的duilib库下载地址:https://github.com/duilib/duilib源代码中可以到一些DEMO示例工程以及属性描述的XML,这个后面再说。A:编译现在我们通过VS打开解决方案文件后,开始编译项目。打开项目后,点击生成-批生成,看见图中的窗口后点...
分类:其他   时间:2015-10-31 20:01:34    收藏:0  评论:0  赞:0  阅读:401
设计模式之简单工厂模式
本程序分为三个部分:业务逻辑,页面逻辑,生产对象的工厂一、业务逻辑: 1. Operation类 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6...
分类:其他   时间:2015-10-31 20:01:24    收藏:0  评论:0  赞:0  阅读:262
storm中worker、executor、task之间的关系
理清一下worker、executor、task、supervisor、nimbus、zk这几个之间的关系先来看一张图(图片来自:http://www.cnblogs.com/foreach-break/p/storm_worker_executor_spout_bolt_simbus_superv...
分类:其他   时间:2015-10-31 20:01:14    收藏:0  评论:0  赞:0  阅读:581
[LeetCode] Bulls and Cows
This problem seems to be easy at the first glance, especially the problem gives a too much simpler example. Make sure you understand the problem by ma...
分类:其他   时间:2015-10-31 20:00:44    收藏:0  评论:0  赞:0  阅读:1326
CSS 使用小结
1.文字过长显示省略号(....) white-space:nowrap;overflow:hidden;text-overflow:ellipsis;2.获取当前的ID :$('#').val();3.使用checkbox外面有文字,最好用label包含,这样点击文字也可以选中,用户体验好。 选中
分类:Web开发   时间:2015-10-31 19:59:34    收藏:0  评论:0  赞:0  阅读:293
[LeetCode] [SQL]: 181: Employees Earning More Than Their Managers
题目:TheEmployeetable holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id.+----+------...
分类:数据库技术   时间:2015-10-31 19:59:14    收藏:0  评论:0  赞:0  阅读:448
[LeetCode][JavaScript]Serialize and Deserialize Binary Tree
Serialize and Deserialize Binary TreeSerialization is the process of converting a data structure or object into a sequence of bits so that it can be s...
分类:编程语言   时间:2015-10-31 19:59:04    收藏:0  评论:0  赞:0  阅读:285
黑马程序员——c语言学习心得——函数传递二维数组
黑马程序员——c语言学习心得——函数传递二维数组-------Java培训、Android培训、iOS培训、.Net培训、期待与您交流! -------一、定义指针的时候一定要初始化。 变量定义的时候给变量初始化,这是保证不出错的一个很好的习惯。尤其是在指针的使用上,如果我们没有给指针初始化,就会出...
分类:编程语言   时间:2015-10-31 19:58:54    收藏:0  评论:0  赞:0  阅读:326
android开发环境的搭建
开发环境的搭建 1.JDK 64 32 2.Eclipse myEclipse ,studio 3.Android SDK (software developer kit) 2.3.3 4.1.2(开发安卓 需要有安卓SDK)安卓SDK目录: add-ons :预留的文件夹,存放...
分类:移动平台   时间:2015-10-31 19:58:44    收藏:0  评论:0  赞:0  阅读:365
Android OpenGL ES 开发教程 从入门到精通
From:http://blog.csdn.net/mapdigit/article/details/7526556Android OpenGL ES 简明开发教程Android OpenGL ES 简明开发教程一:概述Android OpenGL ES 简明开发教程二:构造OpenGL ES Vi...
分类:移动平台   时间:2015-10-31 19:58:34    收藏:0  评论:0  赞:0  阅读:466
Dynamics CRM 2011 JScript
if (!this.JSON) { this.JSON = {}; } (function () { function f(n) { return n < 10 ? '0' + n : n; } if (typeof Date.prototype.toJSON !== 'function') { D...
分类:Web开发   时间:2015-10-31 19:57:54    收藏:0  评论:0  赞:0  阅读:311
事件扩展
public static void Raise(this EventHandler handler, object sender, T args) where T : EventArgs{ if (handler != null) { handler(sender,...
分类:其他   时间:2015-10-31 19:57:44    收藏:0  评论:0  赞:0  阅读:241
1058条   上一页 1 ... 8 9 10 11 12 ... 53 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!