public static void showPopupProgressBar2(IWin32Window host)
        {
            if (host != null)
            {
                ((DevExpress.XtraEditors.XtraUserControl)host).Enabled = false;
            }

            if (sPopup == null)
            {
                sPopup = new PopupProgressBar();
            }
            //
            sPopup.ShowIcon      = false;
            sPopup.ShowInTaskbar = false;
            sPopup.HelpButton    = false;

            sPopup.MinimizeBox   = false;
            sPopup.MaximizeBox   = false;
            sPopup.MaximumSize   = sPopup.MinimumSize = sPopup.Size;
            sPopup.StartPosition = FormStartPosition.CenterScreen;
            sPopup.ControlBox    = false;
            sPopup.Show(host);
        }
        public static void showPopupProgressBar2(IWin32Window host)
        {
            if (host != null)
                ((DevExpress.XtraEditors.XtraUserControl)host).Enabled = false;

            if (sPopup == null)
            {
                sPopup = new PopupProgressBar();
            }
            //
            sPopup.ShowIcon = false;
            sPopup.ShowInTaskbar = false;
            sPopup.HelpButton = false;

            sPopup.MinimizeBox = false;
            sPopup.MaximizeBox = false;
            sPopup.MaximumSize = sPopup.MinimumSize = sPopup.Size;
            sPopup.StartPosition = FormStartPosition.CenterScreen;
            sPopup.ControlBox = false;
            sPopup.Show(host);
        }