Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Close = false;
            InquiryByExaminee f = new InquiryByExaminee(FatherForm);

            f.Show();
            f.getmessage(zhanghao);
            this.Close();
        }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     Close = false;
     if (beforeform == 1)
     {
         InquiryByTest f = new InquiryByTest(FatherForm);
         f.Show();
         f.getmessage(zhanghao);
     }
     else
     {
         InquiryByExaminee f = new InquiryByExaminee(FatherForm);
         f.Show();
         f.getmessage(zhanghao);
     }
     this.Close();
 }