void showModel(Action Method)
        {
            ModalProgressBar dig = null;

            try
            {
                dig       = new ModalProgressBar(Method);
                dig.Owner = Window.GetWindow(this);
                dig.ShowDialog();
            }
            catch
            {
                if (dig != null)
                {
                    dig.Close();
                }
                throw;
            }
        }
        void showModel(Action Method)
        {
            ModalProgressBar dig = null;
            try
            {

                dig = new ModalProgressBar(Method);
                dig.Owner = Window.GetWindow(this);
                dig.ShowDialog();

            }
            catch
            {
                if (dig != null)
                    dig.Close();
                throw;
            }
        }
        void showModel(System.Action Method)
        {
            ModalProgressBar dig = null;
            try
            {

                dig = new ModalProgressBar(Method);
                dig.Owner = System.Windows.Window.GetWindow(this);
                dig.ShowDialogEx(this);

            }
            catch (Exception Ex)
            {
                if (dig != null)
                    dig.Close();
                ExceptionManager.Publish(Ex);
            }
        }