// 显示个人信息窗体 private void tsbtnPersonalInfo_Click(object sender, EventArgs e) { PersonalInfoForm personalInfoForm = new PersonalInfoForm(); personalInfoForm.mainForm = this; // 将当前窗体本身传给个人信息窗体 personalInfoForm.Show(); }