Beispiel #1
0
 public void getLabelData()
 {
     try
     {
         tot_submit.Text  = DBTool.getTotSubmit().ToString();
         tot_AC.Text      = DBTool.getTotAC().ToString();
         tot_judging.Text = (DBTool.getTotResult(2) + DBTool.getTotResult(3)).ToString();
         tot_pending.Text = (DBTool.getTotResult(0) + DBTool.getTotResult(1)).ToString();
     }
     catch (Exception ex)
     {
         print("网络连接中断!");
         Application.Exit();
     }
 }