上一页 1 ··· 389 390 391 392 393 394 395 396 397 ··· 399 下一页
摘要: /// <summary> /// 将一个winform窗体嵌入control中 /// </summary> /// <param name="f">窗体</param> /// <param name="c">control</param> private void InsertForm(For 阅读全文
posted @ 2014-09-22 11:29 ChuckLu 阅读(486) 评论(0) 推荐(0)
摘要: 多线程和信号量 http://www.cnblogs.com/heqichang/archive/2011/12/24/2300301.html 阅读全文
posted @ 2014-09-17 09:16 ChuckLu 阅读(172) 评论(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 阅读(665) 评论(0) 推荐(0)
摘要: 因为研究CodeCombat上的最后一题,自己尝试分解题目,然后想到需要画网格,还有最优化的方法 源代码如下 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; 阅读全文
posted @ 2014-09-13 16:03 ChuckLu 阅读(7081) 评论(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 阅读(418) 评论(0) 推荐(0)
摘要: //缩放的技巧 //首先找到待缩放的区域,例如横轴x1-x2,纵轴y1-y2 //那么待放到的区域就是x=x1;x=x2;y=y1;y=y2;这四条线组成的矩形 //首先确定矩形的左上角的坐标,然后确定矩形的宽... 阅读全文
posted @ 2014-09-12 17:08 ChuckLu 阅读(4563) 评论(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 阅读(609) 评论(0) 推荐(0)
摘要: TeeChart的图表的标题设置方法 tChart1.Header.Text = "图表"; tChart1.Header.Lines = new string[] { "图表1","图表2","图表3" }; //标题设置Header的Text或者Lines,任选一个即可,这... 阅读全文
posted @ 2014-09-03 15:23 ChuckLu 阅读(3822) 评论(0) 推荐(0)
摘要: tChart1.Aspect.View3D = false;//此属性默认是true3d的效果2d平面的效果题外话,在使用控件的时候,需要注意:在TChart控件上增加Series, series的3d属性会受到父控件的影响的如果TChart的Aspect.View3D为false的话,这里的设置... 阅读全文
posted @ 2014-09-03 15:20 ChuckLu 阅读(540) 评论(0) 推荐(0)
摘要: TeeChart一共有六个坐标轴,一下是默认值 tChart1.Axes.Bottom.Visible = true;//横轴 tChart1.Axes.Left.Visible = true;//纵轴 tChart1.Axes.Ri... 阅读全文
posted @ 2014-09-03 15:11 ChuckLu 阅读(4762) 评论(1) 推荐(0)
上一页 1 ··· 389 390 391 392 393 394 395 396 397 ··· 399 下一页