Form1.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
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.Collections;
namespace handwriting
{
public partial class Form1 : Form
{
bool hw;
Graphics g;
Pen p = new Pen(Color.Black);
int x1, y1, x2, y2;
List<string> htPoint;
int points = 0;
public Form1()
{
InitializeComponent();
}
//下载于www.51aspx.com
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
switch (comboBox1.SelectedIndex)
{
case 0:
p.Width = 1;
break;
case 1:
p.Width = 2;
break;
case 2:
p.Width = 3;
break;
case 3:
p.Width = 5;
break;
case 4:
p.Width = 15;
break;
}
}
private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
{
hw = false;
}
private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
{
g = pictureBox1.CreateGraphics();
后面还有 91 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。