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

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

            container.Add(this);
            InitializeComponent();
        }
예제 #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();
        }
예제 #4
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();
        }
예제 #5
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);
 }
예제 #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);
 }