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;
using System.Drawing.Drawing2D;
namespace CoordinateSystem
{
public partial class Form1 : Form
{
int orgX = 20;
int orgY = 20;//原点距离边框左,下距离
int move = 20;//格子间隔
int timerI = 0;
public Form1()
{
InitializeComponent();
timer1.Interval = 1000;
timer1.Enabled = true;
}
private void panel1_Paint(object sender, PaintEventArgs e)
{
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace CoordinateSystem
{
public partial class Form1 : Form
{
int orgX = 20;
int orgY = 20;//原点距离边框左,下距离
int move = 20;//格子间隔
int timerI = 0;
public Form1()
{
InitializeComponent();
timer1.Interval = 1000;
timer1.Enabled = true;
}
private void panel1_Paint(object sender, PaintEventArgs e)
{
转载自原文链接, 如需删除请联系管理员。
原文链接:正弦波,转载请注明来源!
相关推荐