- 4
- 0
- 约1.56千字
- 约 2页
- 2022-03-26 发布于上海
- 举报
实训三 图形图象处理
实训目的
1、 熟练处理图像和图像。
2、 掌握鼠标的多种事件。
实训内
1、画出温州的行政区划图,见下图。当鼠标移动到温州的各个区对应的位置时就显示该
区的人口,面积,以及土特产。
代码如下:
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
privat void label7_MouseMove(object sender, MouseEventArgs e)
{
}
privat void label1_MouseMove(object sender, MouseEventArgs e)
{
label7.Text = 3,000;
label8.Text = 400,000;
label9.Text = 黄瓜、黄连;
}
priv
原创力文档

文档评论(0)