Ejemplo n.º 1
0
        /// <summary>
        /// Performs auto updates from the default feed.
        /// </summary>
        /// <param name="app">The AppManager.</param>
        public static void AutoUpdateController(AppManager app)
        {
            Packages packages = new Packages();
            var      feeds    = FeedManager.GetAutoUpdateFeeds();

            if (feeds.Count > 0)
            {
                Update update = new Update(packages, app);
                update.AutoUpdate();
            }
        }
Ejemplo n.º 2
0
        private void ExtensionManagerFormLoad(object sender, EventArgs e)
        {
            tabControl.SelectedTab = tabOnline;

            if (FeedManager.GetAutoUpdateFeeds().Count > 0)
            {
                checkBox1.Checked = true;
            }

            SearchAndClearIcons();
        }