protected virtual void OnFailedDependency(FailedDependencyEventArgs e)
 {
     if (FailedDependency != null)
         FailedDependency(this, e);
 }
 /// <summary>
 /// Event called if user tries to patch/download a client without having
 /// the required dependencies.
 /// </summary>
 private void Patcher_FailedDependency(object sender, FailedDependencyEventArgs e)
 {
     TxtLogAppendText(String.Format("Error: {0}\r\n", e.Msg));
     SetWebAddress(e.Uri);
     MessageBox.Show(e.Msg, "Failed Dependency", MessageBoxButtons.OK);
 }