你自己试试
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Form2 bb = new Form2();
this.Hide();
show(bb);
}
private void show(Form2 aa)
{
aa.Show();
}
}
}