示例#1
0
        private void UpdateInfo_Click(object sender, EventArgs e)
        {
            if (IsInternetAvailable())
            {
                CheckUpdate update = new CheckUpdate();

                MessageBox.Show(update.GetChangeLog(), "О обновлении", MessageBoxButtons.OK);
            }
        }
示例#2
0
        private void ChangeLog()
        {
            if (Properties.Settings.Default.change_log)
            {
                if (IsInternetAvailable())
                {
                    CheckUpdate update = new CheckUpdate();

                    MessageBox.Show(update.GetChangeLog(), "О обновлении", MessageBoxButtons.OK);
                }

                Properties.Settings.Default.change_log = false;
                Properties.Settings.Default.Save();
            }
        }