这需要用到多态具体代码如下using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;namespace 窗体重写{ public partial class MainForm : Form { public MainForm() {