private DialogResult Authenticate()
        {
            CheckForUpdatesProxyAuthenticationForm dlg = new CheckForUpdatesProxyAuthenticationForm();

            dlg.ShowDialog(this);
            return(dlg.DialogResult);
        }
 private DialogResult Authenticate() {
    CheckForUpdatesProxyAuthenticationForm dlg = new CheckForUpdatesProxyAuthenticationForm();
    dlg.ShowDialog(this);
    return dlg.DialogResult;
 }