コード例 #1
0
        void ViewChanges_Click(object sender, EventArgs e)
        {
            frmChanges changeForm = new frmChanges(auBackend.Version, auBackend.RawChanges, auBackend.AreChangesRTF, ShowButtonUpdateNow, translation);

            changeForm.ShowDialog(ownerForm);

            if (changeForm.UpdateNow)
            {
                InstallNow();
            }
        }
コード例 #2
0
        void ViewChanges_Click(object sender, EventArgs e)
        {
            using (frmChanges changeForm = new frmChanges(auBackend.Version, auBackend.RawChanges, auBackend.AreChangesRTF, ShowButtonUpdateNow, translation))
            {
                changeForm.ShowDialog();

                if (changeForm.UpdateNow)
                    InstallNow();
            }
        }