Exemplo n.º 1
0
        // 显示个人信息窗体
        private void tsbtnPersonalInfo_Click(object sender, EventArgs e)
        {
            PersonalInfoForm personalInfoForm = new PersonalInfoForm();

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