Exemplo n.º 1
0
        static public void CloseForm()
        {
            try
            {
                if (frmWait == null)
                {
                    return;
                }

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

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