📜  C# 新表单 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:38.799000             🧑  作者: Mango

代码示例1
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    private void btnReset_Click(object sender, EventArgs e)
    {
        Form1 NewForm = new Form1();           
        NewForm.Show();
        this.Dispose(false);
    }
}