static public void CloseForm()
        {
            try
            {
                if (frmWait == null)
                {
                    return;
                }

                frmWait.Invoke(new CloseDelegate(CloseFormInternal));
            }
            catch (Exception)
            {
                return;
            }
        }
Example #2
0
        static public void CloseForm()
        {
            try
            {
                if (frmWait == null)
                {
                    return;
                }

                frmWait.Invoke(new CloseDelegate(CloseFormInternal));
            }
            catch (System.Exception ex)
            {
                _error = true;
            }
        }