private void svnc_SvnError(object sender, EventArgs ea) { if (this.InvokeRequired) { delEventHandler del = new delEventHandler(svnc_SvnError); this.Invoke(del, sender, ea); } else { SvnErrorEventArgs seea = ea as SvnErrorEventArgs; isDownloading = false; clearNotification1(); MessageBox.Show("SVN Error:\r\n" + seea.Exception.Message); } }
private void svnc_Notify(object sender, EventArgs ea) { if (this.InvokeRequired) { delEventHandler del = new delEventHandler(svnc_Notify); this.Invoke(del, sender, ea); } else { SvnNotifyEventArgs snea = ea as SvnNotifyEventArgs; if (snea.Action == SvnNotifyAction.UpdateCompleted) { isDownloading = false; setConfig_IsInitialized(); MessageBox.Show("Done!"); } } }