void Main_UpdateCheckerUpdateProgressChanged(object sender, EventArgs ea)
 {
     clsUpdate.ProgressEventArgs e = (clsUpdate.ProgressEventArgs)ea;
     CurSize    = e.BytesReceived;
     TotalSize  = e.TotalBytesToReceive;
     CurPercent = e.ProgressPercentage;
 }
 void updateChecker_UpdateProgressChanged(object sender, clsUpdate.ProgressEventArgs e)
 {
     Gtk.Application.Invoke(sender, (EventArgs)e, Main_UpdateCheckerUpdateProgressChanged);
 }
        protected void updateChecker_CheckProgressChanged(object sender, clsUpdate.ProgressEventArgs e)
        {
            string sProgress = "(" + e.ProgressPercentage.ToString() + "%)";

            SetUpdateValue("Checking for Updates " + sProgress, true);
        }