コード例 #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);
 }