private void OnShowGlobalProcessEnd(string msg)
 {
     this.Dispatcher.Invoke(new Action(() =>
     {
         if (_progressBar != null)
         {
             _progressBar.Close();
             _progressBar = null;
         }
     }));
 }
        private void OnShowGlobalProcessBegin(string msg)
        {
            this.Dispatcher.Invoke(new Action(() =>
            {
                if (_progressBar == null)
                {
                    _progressBar = new Win_ProgressBar() { ProcessingMsg = msg };
                }

                ShowInCenterParent(_progressBar);
            }));
        }