代码改变世界

随笔分类 -  C#绘图

Dev chartControl添加提示层信息

2013-03-18 22:12 by hongjiumu, 1179 阅读, 收藏,
摘要: //Add the Information.this.chartControlParameter.ObjectHotTracked += (s, a) => {//ChartHitInfo chartHitInfo = a.HitInfo;SeriesPoint seriesPoint = a.AdditionalObject as SeriesPoint;if (seriesPoint != null){//MessageBox.Show(seriesPoint.Argument);toolTipControllerParameter.ShowHint(seriesPoint.Argu 阅读全文

在winform中绘一条直线

2013-02-19 23:15 by hongjiumu, 2126 阅读, 收藏,
摘要: 在winform中绘一条直线:public partial class Form1 : Form { public Form1() { InitializeComponent(); this.Paint += Form1_Paint; } private void Form1_Paint(object sender, PaintEventArgs e) { DrawLShapeLine(e.Graphics, 10, 10, 20, 40); ... 阅读全文

Cristi Potlog's Chart Control for .NET

2013-02-19 23:14 by hongjiumu, 229 阅读, 收藏,
摘要: Cristi Potlog's Chart Control for .NEThttp://www.codeproject.com/Articles/10966/Cristi-Potlog-s-Chart-Control-for-NET 阅读全文

C#绘图(文字)

2013-02-19 23:13 by hongjiumu, 850 阅读, 收藏,
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms; namespace WindowsFormsApplication1{ public partial class Form1 : Form { public Form1() { Ini... 阅读全文