Exemplo n.º 1
0
 private void updateButton_Click(object sender, EventArgs e)
 {
     using (var u = new UpdateForm()) {
         u.Init(onlineVersion);
         u.ShowDialog();
     }
 }
Exemplo n.º 2
0
        private void updateButton_Click(object sender, EventArgs e)
        {
            using (var u = new UpdateForm())
            {
                u.Init(onlineVersion);
                u.ShowDialog();
            }

            // reset to display the revision note
            ConfigRepository.Instance()["general_showrevnote"] = "true";
        }
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            btnUpdate.Enabled = false;

            using (var u = new UpdateForm())
            {
                u.Init(onlineVersion);
                u.ShowDialog();
            }

            btnUpdate.Enabled = true;
        }