Exemple #1
0
        private void PerformPreTestActions(bool autoClose)
        {
            setStatus("Busy performing pre-test actions...");
            PreTestActions pta = new PreTestActions();

            pta.Show();

            // give windows 1 sec to render the form
            Utils.SleepNonBlocking(1000);

            setStatus(pta.PerformActions() ? "Done performing pre-test actions." : "Pre-test actions were aborted.");
            if (autoClose)
            {
                pta.Close();
            }
        }
    private void PerformPreTestActions(bool autoClose)
    {
      SetStatus("Busy performing pre-test actions...");
      var pta = new PreTestActions();
      pta.Show();

      // give windows 1 sec to render the form
      Utils.SleepNonBlocking(1000);

      SetStatus(pta.PerformActions() ? "Done performing pre-test actions." : "Pre-test actions were aborted.");
      if (autoClose)
      {
        pta.Close();
      }
    }