Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Close = false;
            InquiryByTest f = new InquiryByTest(FatherForm);

            f.Show();
            f.getmessage(zhanghao);
            this.Close();
        }
Beispiel #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();
 }