在Form1中,点击button1,显示Form2
private void 清芹button1_Click(object sender, EventArgs e){//隐藏当前窗口this.Visible = false;Form2 f2 = new Form2();//显知唯示Form2f2.ShowDialog(); //显示当前窗口 this.Visible = 答猛毕true;}