예제 #1
0
        private void btnUpdateCheck_Click(object sender, EventArgs e)
        {
            frmUpdater updateForm = new frmUpdater();

            updateForm.CheckUpdate();
            updateForm.ShowDialog(this);
        }
예제 #2
0
 private void finishRequest(bool result, Updater.Update[] updates)
 {
     if (result == true && updates.Count() > 0)
     {
         frmUpdater updateForm = new frmUpdater();
         updateForm.Updates = updates;
         updateForm.ShowDialog();
     }
 }
예제 #3
0
 private void finishRequest(bool result, Updater.Update[] updates)
 {
     if (result == true && updates.Count() > 0)
     {
         frmUpdater updateForm = new frmUpdater();
         updateForm.Updates = updates;
         updateForm.ShowDialog();
     }
 }
예제 #4
0
        private void frmMain_Shown(object sender, EventArgs e)
        {
            if (FlummeryApplication.Settings.CheckForUpdates)
            {
                void finishRequest(bool result, Updater.Update[] updates)
                {
                    if (result == true && updates.Count() > 0)
                    {
                        frmUpdater updateForm = new frmUpdater {
                            Updates = updates
                        };

                        updateForm.ShowDialog();
                    }
                }

                new Updater().Check(FlummeryApplication.Version, finishRequest);
            }
        }
예제 #5
0
 private void btnUpdateCheck_Click(object sender, EventArgs e)
 {
     frmUpdater updateForm = new frmUpdater();
     updateForm.checkUpdate();
     updateForm.ShowDialog(this);
 }