Esempio n. 1
0
 public static void closeForm(Form formToClose)
 {            
     if (formToClose != null)
         if(formToClose.okThread(delegate{closeForm(formToClose);}))
         {
             PublicDI.log.info("Closing Form: {0} or type  {1}" , formToClose.Text, formToClose.GetType().FullName);
             formToClose.Close();
         }
 }