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 graphics : Form
{
int origin=0;
Random myRandom = new Random();
int i = 1;
Point[] Points = new Point[16];
bool Ctrl = false;
public graphics()
{
InitializeComponent();
}
private void Form3_Load(object sender, EventArgs e)
{
origin = this.Height/2;
}
//模拟
private void toolStripButton1_Click(object sender, EventArgs e)
{
drawTable();
}
private void drawTable()
{
this.Refresh();
Pen myPen = new Pen(Color.Gray, 1);//实例化画笔对象
Graphics myGra = this.CreateGraphics();//确定作画的
C#绘制折线图
最新推荐文章于 2024-04-17 12:00:07 发布