摘要:private void MainForm_Paint(object sender, System.Windows.Forms.PaintEventArgs e){//点的大小, 值一样则是画点float[] BlueValues = {5,15 20,25s};//颜色及画笔大小设置Pen BluekPen = new Pen(Color.Blue, 1);//指定设定值BluekPen.DashPattern = dashValues;//画一条竖线e.Graphics.DrawLine(BluekPen, new Point(20, 50), new Point(20, 150));} 阅读全文
posted @ 2012-03-09 12:25 Mr.Tom 阅读 (3093) 评论 (0) 编辑