From: <du...@us...> - 2007-03-01 20:28:15
|
Revision: 151 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=151&view=rev Author: dukus Date: 2007-03-01 12:27:59 -0800 (Thu, 01 Mar 2007) Log Message: ----------- Online tab in control panel Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/Program.cs trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs trunk/plugins/mpinstaler/MPInstaler.suo Modified: trunk/plugins/mpinstaler/MPInstaler/Program.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Program.cs 2007-03-01 18:20:23 UTC (rev 150) +++ trunk/plugins/mpinstaler/MPInstaler/Program.cs 2007-03-01 20:27:59 UTC (rev 151) @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Windows.Forms; +using Microsoft.Win32; namespace MPInstaler { Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs 2007-03-01 18:20:23 UTC (rev 150) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs 2007-03-01 20:27:59 UTC (rev 151) @@ -37,6 +37,20 @@ this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.label1 = new System.Windows.Forms.Label(); + this.listView2 = new System.Windows.Forms.ListView(); + this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader7 = new System.Windows.Forms.ColumnHeader(); + this.button5 = new System.Windows.Forms.Button(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.tabControl1.SuspendLayout(); + this.tabPage1.SuspendLayout(); + this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // listView1 @@ -53,10 +67,10 @@ this.listView1.FullRowSelect = true; this.listView1.GridLines = true; this.listView1.HideSelection = false; - this.listView1.Location = new System.Drawing.Point(-1, -3); + this.listView1.Location = new System.Drawing.Point(3, 0); this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; - this.listView1.Size = new System.Drawing.Size(632, 304); + this.listView1.Size = new System.Drawing.Size(685, 277); this.listView1.TabIndex = 0; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; @@ -85,7 +99,7 @@ // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button1.Enabled = false; - this.button1.Location = new System.Drawing.Point(12, 321); + this.button1.Location = new System.Drawing.Point(6, 294); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 1; @@ -95,7 +109,7 @@ // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.button2.Location = new System.Drawing.Point(542, 321); + this.button2.Location = new System.Drawing.Point(604, 294); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 2; @@ -107,7 +121,7 @@ // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button3.Enabled = false; - this.button3.Location = new System.Drawing.Point(104, 321); + this.button3.Location = new System.Drawing.Point(88, 294); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 3; @@ -117,7 +131,8 @@ // button4 // this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.button4.Location = new System.Drawing.Point(196, 321); + this.button4.Enabled = false; + this.button4.Location = new System.Drawing.Point(169, 294); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(75, 23); this.button4.TabIndex = 4; @@ -125,21 +140,128 @@ this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // + // tabControl1 + // + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Location = new System.Drawing.Point(1, 1); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(696, 364); + this.tabControl1.TabIndex = 5; + // + // tabPage1 + // + this.tabPage1.Controls.Add(this.linkLabel1); + this.tabPage1.Controls.Add(this.listView1); + this.tabPage1.Controls.Add(this.button2); + this.tabPage1.Controls.Add(this.button4); + this.tabPage1.Controls.Add(this.button1); + this.tabPage1.Controls.Add(this.button3); + this.tabPage1.Location = new System.Drawing.Point(4, 22); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(688, 338); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "Local"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // tabPage2 + // + this.tabPage2.Controls.Add(this.button5); + this.tabPage2.Controls.Add(this.listView2); + this.tabPage2.Controls.Add(this.label1); + this.tabPage2.Controls.Add(this.comboBox1); + this.tabPage2.Location = new System.Drawing.Point(4, 22); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(688, 338); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "Online"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // comboBox1 + // + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "d:\\MPExtension_list.xml"}); + this.comboBox1.Location = new System.Drawing.Point(6, 21); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(675, 21); + this.comboBox1.TabIndex = 0; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(7, 5); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(46, 13); + this.label1.TabIndex = 1; + this.label1.Text = "Provider"; + // + // listView2 + // + this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader5, + this.columnHeader6, + this.columnHeader7}); + this.listView2.Location = new System.Drawing.Point(7, 48); + this.listView2.Name = "listView2"; + this.listView2.Size = new System.Drawing.Size(672, 220); + this.listView2.TabIndex = 2; + this.listView2.UseCompatibleStateImageBehavior = false; + this.listView2.View = System.Windows.Forms.View.Details; + // + // columnHeader5 + // + this.columnHeader5.Text = "Name"; + this.columnHeader5.Width = 111; + // + // columnHeader6 + // + this.columnHeader6.Text = "Author"; + this.columnHeader6.Width = 170; + // + // columnHeader7 + // + this.columnHeader7.Text = "Version"; + this.columnHeader7.Width = 91; + // + // button5 + // + this.button5.Location = new System.Drawing.Point(10, 286); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(215, 23); + this.button5.TabIndex = 3; + this.button5.Text = "Download && Install"; + this.button5.UseVisualStyleBackColor = true; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Location = new System.Drawing.Point(7, 321); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(113, 13); + this.linkLabel1.TabIndex = 5; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "http://dukus.extra.hu/"; + // // controlp // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(629, 366); - this.Controls.Add(this.button4); - this.Controls.Add(this.button3); - this.Controls.Add(this.button2); - this.Controls.Add(this.button1); - this.Controls.Add(this.listView1); + this.ClientSize = new System.Drawing.Size(696, 366); + this.Controls.Add(this.tabControl1); this.Name = "controlp"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Control panel"; this.Shown += new System.EventHandler(this.controlp_Shown); this.Load += new System.EventHandler(this.controlp_Load); + this.tabControl1.ResumeLayout(false); + this.tabPage1.ResumeLayout(false); + this.tabPage1.PerformLayout(); + this.tabPage2.ResumeLayout(false); + this.tabPage2.PerformLayout(); this.ResumeLayout(false); } @@ -155,5 +277,16 @@ private System.Windows.Forms.ColumnHeader columnHeader3; private System.Windows.Forms.ColumnHeader columnHeader4; private System.Windows.Forms.Button button4; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.Button button5; + private System.Windows.Forms.ListView listView2; + private System.Windows.Forms.ColumnHeader columnHeader5; + private System.Windows.Forms.ColumnHeader columnHeader6; + private System.Windows.Forms.ColumnHeader columnHeader7; + private System.Windows.Forms.LinkLabel linkLabel1; } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler.suo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |