/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.appUpdater1 = new Microsoft.Samples.AppUpdater.AppUpdater(this.components); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.appUpdater1)).BeginInit(); this.SuspendLayout(); // // appUpdater1 // this.appUpdater1.Poller.DownloadOnDetection = false; this.appUpdater1.OnCheckForUpdate += new Microsoft.Samples.AppUpdater.AppUpdater.CheckForUpdateEventHandler(this.appUpdater1_OnCheckForUpdate); this.appUpdater1.OnUpdateDetected += new Microsoft.Samples.AppUpdater.AppUpdater.UpdateDetectedEventHandler(this.appUpdater1_OnUpdateDetected); this.appUpdater1.OnUpdateComplete += new Microsoft.Samples.AppUpdater.AppUpdater.UpdateCompleteEventHandler(this.appUpdater1_OnUpdateComplete); // // label1 // this.label1.Location = new System.Drawing.Point(48, 96); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(352, 72); this.label1.TabIndex = 0; this.label1.Text = "This is a one form app that demonstrates some advanced auto-updating capabilities" + "."; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(8, 19); this.BackColor = System.Drawing.Color.SlateBlue; this.ClientSize = new System.Drawing.Size(440, 326); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.label1 }); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Name = "Form1"; this.Text = "AdvancedSample"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.appUpdater1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.appUpdater1 = new Microsoft.Samples.AppUpdater.AppUpdater(this.components); this.button1 = new System.Windows.Forms.Button(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.folderBrowserDialog2 = new System.Windows.Forms.FolderBrowserDialog(); ((System.ComponentModel.ISupportInitialize)(this.appUpdater1)).BeginInit(); this.SuspendLayout(); // // appUpdater1 // this.appUpdater1.AutoFileLoad = true; this.appUpdater1.ShowDefaultUI = true; this.appUpdater1.UpdateUrl = "http://localhost/temp/"; // // button1 // this.button1.Location = new System.Drawing.Point(56, 24); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(88, 32); this.button1.TabIndex = 0; this.button1.Text = "button1"; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.Silver; this.ClientSize = new System.Drawing.Size(336, 278); this.Controls.Add(this.button1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.appUpdater1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.button1 = new System.Windows.Forms.Button(); this.appUpdater1 = new Microsoft.Samples.AppUpdater.AppUpdater(this.components); ((System.ComponentModel.ISupportInitialize)(this.appUpdater1)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(120, 104); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(120, 56); this.button1.TabIndex = 0; this.button1.Text = "My Button"; this.button1.Click += new System.EventHandler(this.button1_Click); // // appUpdater1 // this.appUpdater1.AutoFileLoad = true; this.appUpdater1.ChangeDetectionMode = Microsoft.Samples.AppUpdater.ChangeDetectionModes.ServerManifestCheck; this.appUpdater1.ShowDefaultUI = true; this.appUpdater1.UpdateUrl = "http://localhost/SampleApp_ServerSetup/UpdateVersion.xml"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(8, 19); this.BackColor = System.Drawing.Color.LawnGreen; this.ClientSize = new System.Drawing.Size(360, 278); this.Controls.Add(this.button1); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.appUpdater1)).EndInit(); this.ResumeLayout(false); }