一、先绘制中国象棋的背景图,选择白色的底然后背景图我们可以随意,一定要将该图片的bg.jpg放置到应用程序同一个文件夹中。在图上坐标位(10,10)的位置上画一个高度为480,宽度为430的棋盘底部。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Windows2App1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void Form1_Paint(object sender, PaintEventArgs e)</