void BeforeEngineDialog(Object sender, SvnBeforeEngineDialogEventArgs e)
        {
            if (Reinvoke(sender, e, BeforeEngineDialog))
            {
                return;
            }

            IWin32Window wnd = null;

            if (UIService != null)
            {
                wnd = UIService.GetDialogOwnerWindow();
            }
            else
            {
                wnd = _window;
            }

            if (wnd != null)
            {
                e.Handle = wnd.Handle;
            }
        }