private void closeFormSafe()
 {
     if (InvokeRequired)
     {
         var d = new closeFormDelegate(closeFormSafe);
         Invoke(d);
     }
     else
     {
         Close();
     }
 }
Beispiel #2
0
        public void CloseForm()
        {
            closeFormDelegate la = new closeFormDelegate(delegateCloseForm);

            this.Invoke(la);
        }