上一页 1 ··· 390 391 392 393 394 395 396 397 398 ··· 400 下一页
摘要: https://msdn.microsoft.com/en-us/library/6a71f45d.aspx Logical OR Operator 按位或 This operator has higher precedence than the next section and lower pre 阅读全文
posted @ 2014-10-08 15:22 ChuckLu 阅读(1928) 评论(0) 推荐(0)
摘要: foreach (Control c in groupBox1.Controls) { if (c is TextBox) { //这里写代码逻辑 } } 遍历的时候,需要用Control遍历; 如果直接使用foreach(TextBox t in groupBox1.Controls) 并且gro 阅读全文
posted @ 2014-10-08 09:38 ChuckLu 阅读(7667) 评论(0) 推荐(0)
摘要: public class MyChart{ //字段 private TChart tChart; /// /// 构造函数,默认不是3D效果 /// /// 父容器 public MyChart(Control parent) { t... 阅读全文
posted @ 2014-09-25 09:22 ChuckLu 阅读(410) 评论(0) 推荐(0)
摘要: /// <summary> /// 将一个winform窗体嵌入control中 /// </summary> /// <param name="f">窗体</param> /// <param name="c">control</param> private void InsertForm(For 阅读全文
posted @ 2014-09-22 11:29 ChuckLu 阅读(533) 评论(0) 推荐(0)
摘要: 多线程和信号量 http://www.cnblogs.com/heqichang/archive/2011/12/24/2300301.html 阅读全文
posted @ 2014-09-17 09:16 ChuckLu 阅读(174) 评论(0) 推荐(0)
摘要: 题目的意思在于,更高效的Collect Gold;然后合理的安排生产出来的士兵;// This code runs once per frame. Build units and command peasants!// Destroy the ogre base within 180 seconds... 阅读全文
posted @ 2014-09-14 10:13 ChuckLu 阅读(671) 评论(0) 推荐(0)
摘要: 因为研究CodeCombat上的最后一题,自己尝试分解题目,然后想到需要画网格,还有最优化的方法 源代码如下 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; 阅读全文
posted @ 2014-09-13 16:03 ChuckLu 阅读(7105) 评论(0) 推荐(0)
摘要: http://codecombat.com/play/level/gridmancer刚开始没看懂,题目,后来才慢慢看懂的,题目要求,用最少的矩形框填充空白的地方var grid = this.getNavGrid().grid;var tileSize = 4;for(var y = 0; y +... 阅读全文
posted @ 2014-09-13 14:20 ChuckLu 阅读(425) 评论(0) 推荐(0)
摘要: //缩放的技巧 //首先找到待缩放的区域,例如横轴x1-x2,纵轴y1-y2 //那么待放到的区域就是x=x1;x=x2;y=y1;y=y2;这四条线组成的矩形 //首先确定矩形的左上角的坐标,然后确定矩形的宽... 阅读全文
posted @ 2014-09-12 17:08 ChuckLu 阅读(4584) 评论(0) 推荐(0)
摘要: TeeChart坐标轴常见问题http://www.shaoqun.com/a/54063.aspxTeeChart常用编程语句汇总(C#)http://www.ev get.com/article/2012/10/31/17980.htmlVS2010 使用TeeChart绘图控件 - 之二 - ... 阅读全文
posted @ 2014-09-03 16:54 ChuckLu 阅读(614) 评论(0) 推荐(0)
上一页 1 ··· 390 391 392 393 394 395 396 397 398 ··· 400 下一页