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

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

            container.Add(this);
            InitializeComponent();
        }
Exemplo n.º 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();
        }
Exemplo n.º 4
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);
 }
Exemplo n.º 5
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();
        }
Exemplo n.º 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);
 }