Exemplo n.º 1
0
 public static bool IsFormTreatmentOpen(String strSimID, out FormTreatment formTemp)
 {
     formTemp = listFormTreatment.Find(delegate(FormTreatment form) { return(form.Tag.ToString() == strSimID); });
     if (formTemp != null)
     {
         formTemp.Focus();
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemplo n.º 2
0
 public static void AddFormTreatment(FormTreatment form)
 {
     listFormTreatment.Add(form);
 }
Exemplo n.º 3
0
 public static void RemoveFormTreatment(FormTreatment form)
 {
     listFormTreatment.Remove(form);
 }