Example #1
0
        private void _updaterClient_Updating(object sender, UpdaterClientEventArgs e)
        {
            this.listBox1.Items.Add(string.Format("[{0}]\t{1}", e.NotificationDate, e.Message));
            if (!e.Completed)
            {
                return;
            }

            string message = (e.Success)
                ? string.Format("[{0}]\t{1} Updates available.",
                                e.NotificationDate, e.Count)
                : string.Format("[{0}]\tError: {1}",
                                e.NotificationDate, e.Error.Message);

            this.listBox1.Items.Add(message);
        }
        private void _updaterClient_Updating(object sender, UpdaterClientEventArgs e)
        {
            this.listBox1.Items.Add(string.Format("[{0}]\t{1}", e.NotificationDate, e.Message));
            if (!e.Completed)
                return;

            string message = (e.Success)
                ? string.Format("[{0}]\t{1} Updates available.",
                    e.NotificationDate, e.Count)
                : string.Format("[{0}]\tError: {1}",
                    e.NotificationDate, e.Error.Message);
            this.listBox1.Items.Add(message);
        }
 private void _updaterClient_NoUpdatesAvailable(object sender, UpdaterClientEventArgs e)
 {
     this.download.Visible = false;
     this.availableUpdates.Visible = false;
 }
Example #4
0
 private void _updaterClient_NoUpdatesAvailable(object sender, UpdaterClientEventArgs e)
 {
     this.download.Visible         = false;
     this.availableUpdates.Visible = false;
 }