Beispiel #1
0
 private void ResetUi()
 {
     //清空测试结果
     SetResult("");
     ControlSafe.SetCheckbox(chkStop, false);
     //chkStop.Checked = false;
     ControlSafe.SetcontrolEnable(btnTest, false);
     //btnTest.Enabled = false;
     ControlSafe.ClearChecked(chkList_TestItem);
     ControlSafe.ClearChecked(chkList_LossPair);
     ControlSafe.ClearChecked(chkList_NextPair);
     ControlSafe.ClearChecked(chkList_FextPair);
     ControlSafe.ClearChecked(chkList_TestItem);
     ControlSafe.ClearChecked(chkList_LossPair);
     ControlSafe.ClearChecked(chkList_NextPair);
     ControlSafe.ClearChecked(chkList_FextPair);
     ControlSafe.ClearListview(lsvKeyPoint);
     rTextStatus.BeginInvoke(new Action(() => { rTextStatus.Clear(); }));
 }