private void btnWizard_Click(object sender, EventArgs e) { form1 = new frmWizard("f1"); form2 = new frmWizard("f2"); form3 = new frmWizard("f3"); //form1->form2->form3 form1.nextForm = form2; form2.nextForm = form3; form2.beforeForm = form1; form3.beforeForm = form2; //设置第一个form的back按钮finish按钮不可按 form1.setBtnBackFalse(); form1.setBtnFinishFalse(); form1.Show(); }