Example #1
0
 public static void RemoveFormSimulationCommitted(FormSimulationResults form)
 {
     listFormSimulationCommitted.Remove(form);
     if (listFormSimulationCommitted.Count == 0 && listFormSimulationResults.Count == 0)
     {
         RemoveSimulationAttributeWindow();
     }
 }
Example #2
0
 public static bool IsFormSimulationCommittedOpen(String strSimID, out FormSimulationResults formTemp)
 {
     formTemp = listFormSimulationCommitted.Find(delegate(FormSimulationResults form) { return(form.Tag.ToString() == strSimID); });
     if (formTemp != null)
     {
         formTemp.Focus();
         return(true);
     }
     else
     {
         return(false);
     }
 }
Example #3
0
        public static void RemoveFormSimulationResults(FormSimulationResults form)
        {
            listFormSimulationResults.Remove(form);
            if (listFormSimulationCommitted.Count == 0 && listFormSimulationResults.Count == 0)
            {
                RemoveSimulationAttributeWindow();
                RemoveResultsBudgetWindow();
            }

            if (listFormSimulationResults.Count == 0)
            {
                RemoveResultsTargetWindow();
                RemoveResultsDeficientWindow();
            }
        }
Example #4
0
 public static void AddFormSimulationCommitted(FormSimulationResults form)
 {
     listFormSimulationCommitted.Add(form);
 }
Example #5
0
 public static void AddFormSimulationResults(FormSimulationResults form)
 {
     listFormSimulationResults.Add(form);
 }