摘要: 因为研究CodeCombat上的最后一题,自己尝试分解题目,然后想到需要画网格,还有最优化的方法 源代码如下 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; 阅读全文
posted @ 2014-09-13 16:03 ChuckLu 阅读(7090) 评论(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 阅读(423) 评论(0) 推荐(0)
摘要: //缩放的技巧 //首先找到待缩放的区域,例如横轴x1-x2,纵轴y1-y2 //那么待放到的区域就是x=x1;x=x2;y=y1;y=y2;这四条线组成的矩形 //首先确定矩形的左上角的坐标,然后确定矩形的宽... 阅读全文
posted @ 2014-09-12 17:08 ChuckLu 阅读(4568) 评论(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 阅读(612) 评论(0) 推荐(0)
摘要: TeeChart的图表的标题设置方法 tChart1.Header.Text = "图表"; tChart1.Header.Lines = new string[] { "图表1","图表2","图表3" }; //标题设置Header的Text或者Lines,任选一个即可,这... 阅读全文
posted @ 2014-09-03 15:23 ChuckLu 阅读(3829) 评论(0) 推荐(0)
摘要: tChart1.Aspect.View3D = false;//此属性默认是true3d的效果2d平面的效果题外话,在使用控件的时候,需要注意:在TChart控件上增加Series, series的3d属性会受到父控件的影响的如果TChart的Aspect.View3D为false的话,这里的设置... 阅读全文
posted @ 2014-09-03 15:20 ChuckLu 阅读(546) 评论(0) 推荐(0)
摘要: TeeChart一共有六个坐标轴,一下是默认值 tChart1.Axes.Bottom.Visible = true;//横轴 tChart1.Axes.Left.Visible = true;//纵轴 tChart1.Axes.Ri... 阅读全文
posted @ 2014-09-03 15:11 ChuckLu 阅读(4771) 评论(1) 推荐(0)
摘要: 此链接可以作为参考http://tech.sina.com.cn/s/2008-07-07/1612722495.shtml需要添加引用using Steema.TeeChart;//tchartusing Steema.TeeChart.Styles;//bar纯代码操作TChart tChart... 阅读全文
posted @ 2014-09-03 09:32 ChuckLu 阅读(1053) 评论(0) 推荐(0)
摘要: Internet Information Services(IIS,互联网信息服务),是由微软公司提供的基于运行Microsoft Windows的互联网基本服务。最初是Windows NT版本的可选包,随后内置在Windows 2000、Windows XP Professional和Window... 阅读全文
posted @ 2014-09-01 15:02 ChuckLu 阅读(249) 评论(0) 推荐(0)
摘要: c#不支持宏定义,只支持编译开关。======================================我想加上#define xxx就编译a代码,否则编译b代码,像这样的:#if xxxa #elseb #endif===================================... 阅读全文
posted @ 2014-08-25 10:43 ChuckLu 阅读(3150) 评论(0) 推荐(0)