//**************************************************************
        // Constructor()
        // - Design time constructor
        //**************************************************************
        public AppUpdater(System.ComponentModel.IContainer container)
        {
            Poller = new ServerPoller(this);
            Downloader = new AppDownloader(this);

            container.Add(this);
            InitializeComponent();
        }
Example #2
0
        //**************************************************************
        // Constructor()
        // - Design time constructor
        //**************************************************************
        public AppUpdater(System.ComponentModel.IContainer container)
        {
            Poller     = new ServerPoller(this);
            Downloader = new AppDownloader(this);

            container.Add(this);
            InitializeComponent();
        }
Example #3
0
        //**************************************************************
        // Constructor()
        // - If you use this contructor, no need to call initialize
        //**************************************************************
        public AppUpdater(string updateUrl,
                          ChangeDetectionModes changeDetectionMode,
                          bool showDefaultUI,
                          bool autoFileLoad,
                          bool validateAssemblies)
        {
            //Load the Poller & Updater
            Poller     = new ServerPoller(this);
            Downloader = new AppDownloader(this);

            UpdateUrl                     = updateUrl;
            ChangeDetectionMode           = changeDetectionMode;
            ShowDefaultUI                 = showDefaultUI;
            AutoFileLoad                  = autoFileLoad;
            Downloader.ValidateAssemblies = validateAssemblies;

            Initialize();
        }
        //**************************************************************
        // Constructor()
        // - If you use this contructor, no need to call initialize
        //**************************************************************
        public AppUpdater(string updateUrl,
						ChangeDetectionModes changeDetectionMode,
						bool showDefaultUI,
						bool autoFileLoad,
						bool validateAssemblies)
        {
            //Load the Poller & Updater
            Poller = new ServerPoller(this);
            Downloader = new AppDownloader(this);

            UpdateUrl = updateUrl;
            ChangeDetectionMode = changeDetectionMode;
            ShowDefaultUI = showDefaultUI;
            AutoFileLoad = autoFileLoad;
            Downloader.ValidateAssemblies = validateAssemblies;

            Initialize();
        }
 //**************************************************************
 // Constructor()
 // If you use this contrusctor, be sure to call Initialize() after
 // you set all of the properties.
 //**************************************************************
 public AppUpdater()
 {
     Poller = new ServerPoller(this);
     Downloader = new AppDownloader(this);
 }
Example #6
0
 //**************************************************************
 // Constructor()
 // If you use this contrusctor, be sure to call Initialize() after
 // you set all of the properties.
 //**************************************************************
 public AppUpdater()
 {
     Poller     = new ServerPoller(this);
     Downloader = new AppDownloader(this);
 }