private void btnVersionManagement_Click(object sender, System.EventArgs e) { VersionManagement versionManagementForm = new VersionManagement(new ProductData(null), false); versionManagementForm.ShowDialog(this); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.txtDesc = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.button2 = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(9, 38); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(0, 13); this.label1.TabIndex = 0; // // txtDesc // this.txtDesc.BackColor = System.Drawing.Color.White; this.txtDesc.Location = new System.Drawing.Point(12, 75); this.txtDesc.Multiline = true; this.txtDesc.Name = "txtDesc"; this.txtDesc.ReadOnly = true; this.txtDesc.Size = new System.Drawing.Size(392, 141); this.txtDesc.TabIndex = 5; this.txtDesc.Text = VersionManagement.GetVersionsString(); // // button1 // this.button1.BackColor = System.Drawing.SystemColors.ButtonFace; this.button1.Location = new System.Drawing.Point(327, 225); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(77, 22); this.button1.TabIndex = 6; this.button1.Text = "Close"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // pictureBox1 // this.pictureBox1.Image = global::MySpace.MSFast.GUI.Engine.Resources.Resources.aboutLogoPNG; this.pictureBox1.Location = new System.Drawing.Point(6, 9); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = global::MySpace.MSFast.GUI.Engine.Resources.Resources.aboutLogoPNG.Size; this.pictureBox1.TabIndex = 8; this.pictureBox1.TabStop = false; // // button2 // this.button2.BackColor = System.Drawing.SystemColors.ButtonFace; this.button2.Location = new System.Drawing.Point(12, 225); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(160, 22); this.button2.TabIndex = 9; this.button2.Text = "Get New Version!"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new EventHandler(button2_Click); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 56); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(114, 13); this.label2.TabIndex = 10; this.label2.Text = "New Version Features:"; // // UpdateAvailable // this.BackColor = System.Drawing.SystemColors.Control; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.ClientSize = new System.Drawing.Size(416, 256); this.Controls.Add(this.label2); this.Controls.Add(this.button2); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.button1); this.Controls.Add(this.txtDesc); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "UpdateAvailable"; this.Text = "Available Updates"; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }