Author: greatlrd
Date: Thu Jun 22 16:00:58 2006
New Revision: 22498
URL:
http://svn.reactos.ru/svn/reactos?rev=22498&view=rev
Log:
Adding design for the network config
Modified:
trunk/tools/Qemu GUI/frmMain.cs
Modified: trunk/tools/Qemu GUI/frmMain.cs
URL:
http://svn.reactos.ru/svn/reactos/trunk/tools/Qemu%20GUI/frmMain.cs?rev=224…
==============================================================================
--- trunk/tools/Qemu GUI/frmMain.cs (original)
+++ trunk/tools/Qemu GUI/frmMain.cs Thu Jun 22 16:00:58 2006
@@ -127,6 +127,25 @@
private ComboBox cboVDKDrive;
private ComboBox cboMachine;
private Label lblImageSizeMB;
+ private GroupBox groupBox3;
+ private GroupBox groupBox1;
+ private NumericUpDown numericUpDown9;
+ private NumericUpDown numericUpDown10;
+ private NumericUpDown numericUpDown11;
+ private NumericUpDown numericUpDown12;
+ private Label label3;
+ private NumericUpDown numericUpDown5;
+ private NumericUpDown numericUpDown6;
+ private NumericUpDown numericUpDown7;
+ private NumericUpDown numericUpDown8;
+ private Label label2;
+ private NumericUpDown numericUpDown4;
+ private NumericUpDown numericUpDown3;
+ private NumericUpDown numericUpDown2;
+ private NumericUpDown numericUpDown1;
+ private Label label1;
+ private RadioButton radioButton2;
+ private RadioButton radioButton1;
private QEmu qemu;
public frmMain()
@@ -274,6 +293,25 @@
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.btnLoad = new System.Windows.Forms.Button();
this.btnSave = new System.Windows.Forms.Button();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
+ this.radioButton1 = new System.Windows.Forms.RadioButton();
+ this.radioButton2 = new System.Windows.Forms.RadioButton();
+ this.label1 = new System.Windows.Forms.Label();
+ this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown6 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown7 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown8 = new System.Windows.Forms.NumericUpDown();
+ this.label2 = new System.Windows.Forms.Label();
+ this.numericUpDown9 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown10 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown11 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown12 = new System.Windows.Forms.NumericUpDown();
+ this.label3 = new System.Windows.Forms.Label();
this.grpMachine.SuspendLayout();
this.HardDisk2.SuspendLayout();
this.tabMisc.SuspendLayout();
@@ -303,9 +341,23 @@
this.grpSerial.SuspendLayout();
this.grpParallel.SuspendLayout();
this.groupBox16.SuspendLayout();
+ this.tabNetwork.SuspendLayout();
this.tabPaths.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tabAbout.SuspendLayout();
+ this.groupBox3.SuspendLayout();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown11)).BeginInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown12)).BeginInit();
this.SuspendLayout();
//
// grpMachine
@@ -1294,6 +1346,8 @@
//
// tabNetwork
//
+ this.tabNetwork.Controls.Add(this.groupBox3);
+ this.tabNetwork.Controls.Add(this.groupBox1);
this.tabNetwork.Location = new System.Drawing.Point(4, 22);
this.tabNetwork.Name = "tabNetwork";
this.tabNetwork.Size = new System.Drawing.Size(460, 201);
@@ -1430,6 +1484,354 @@
this.btnSave.TabIndex = 6;
this.btnSave.Text = "Save";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+ //
+ // groupBox1
+ //
+ this.groupBox1.Location = new System.Drawing.Point(13, 13);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(200, 176);
+ this.groupBox1.TabIndex = 0;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "Buildin Server";
+ //
+ // groupBox3
+ //
+ this.groupBox3.Controls.Add(this.numericUpDown9);
+ this.groupBox3.Controls.Add(this.numericUpDown10);
+ this.groupBox3.Controls.Add(this.numericUpDown11);
+ this.groupBox3.Controls.Add(this.numericUpDown12);
+ this.groupBox3.Controls.Add(this.label3);
+ this.groupBox3.Controls.Add(this.numericUpDown5);
+ this.groupBox3.Controls.Add(this.numericUpDown6);
+ this.groupBox3.Controls.Add(this.numericUpDown7);
+ this.groupBox3.Controls.Add(this.numericUpDown8);
+ this.groupBox3.Controls.Add(this.label2);
+ this.groupBox3.Controls.Add(this.numericUpDown4);
+ this.groupBox3.Controls.Add(this.numericUpDown3);
+ this.groupBox3.Controls.Add(this.numericUpDown2);
+ this.groupBox3.Controls.Add(this.numericUpDown1);
+ this.groupBox3.Controls.Add(this.label1);
+ this.groupBox3.Controls.Add(this.radioButton2);
+ this.groupBox3.Controls.Add(this.radioButton1);
+ this.groupBox3.Location = new System.Drawing.Point(231, 13);
+ this.groupBox3.Name = "groupBox3";
+ this.groupBox3.Size = new System.Drawing.Size(214, 176);
+ this.groupBox3.TabIndex = 1;
+ this.groupBox3.TabStop = false;
+ this.groupBox3.Text = "Network Config";
+ //
+ // radioButton1
+ //
+ this.radioButton1.AutoSize = true;
+ this.radioButton1.Location = new System.Drawing.Point(6, 19);
+ this.radioButton1.Name = "radioButton1";
+ this.radioButton1.Size = new System.Drawing.Size(77, 17);
+ this.radioButton1.TabIndex = 0;
+ this.radioButton1.TabStop = true;
+ this.radioButton1.Text = "Use DHCP";
+ this.radioButton1.UseVisualStyleBackColor = true;
+ //
+ // radioButton2
+ //
+ this.radioButton2.AutoSize = true;
+ this.radioButton2.Location = new System.Drawing.Point(101, 19);
+ this.radioButton2.Name = "radioButton2";
+ this.radioButton2.Size = new System.Drawing.Size(65, 17);
+ this.radioButton2.TabIndex = 1;
+ this.radioButton2.TabStop = true;
+ this.radioButton2.Text = "Static IP";
+ this.radioButton2.UseVisualStyleBackColor = true;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(6, 51);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(52, 13);
+ this.label1.TabIndex = 2;
+ this.label1.Text = "IP Adress";
+ //
+ // numericUpDown1
+ //
+ this.numericUpDown1.Location = new System.Drawing.Point(6, 67);
+ this.numericUpDown1.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown1.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown1.Name = "numericUpDown1";
+ this.numericUpDown1.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown1.TabIndex = 14;
+ this.numericUpDown1.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown2
+ //
+ this.numericUpDown2.Location = new System.Drawing.Point(58, 67);
+ this.numericUpDown2.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown2.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown2.Name = "numericUpDown2";
+ this.numericUpDown2.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown2.TabIndex = 15;
+ this.numericUpDown2.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown3
+ //
+ this.numericUpDown3.Location = new System.Drawing.Point(110, 67);
+ this.numericUpDown3.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown3.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown3.Name = "numericUpDown3";
+ this.numericUpDown3.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown3.TabIndex = 16;
+ this.numericUpDown3.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown4
+ //
+ this.numericUpDown4.Location = new System.Drawing.Point(162, 67);
+ this.numericUpDown4.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown4.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown4.Name = "numericUpDown4";
+ this.numericUpDown4.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown4.TabIndex = 17;
+ this.numericUpDown4.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown5
+ //
+ this.numericUpDown5.Location = new System.Drawing.Point(162, 108);
+ this.numericUpDown5.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown5.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown5.Name = "numericUpDown5";
+ this.numericUpDown5.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown5.TabIndex = 22;
+ this.numericUpDown5.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown6
+ //
+ this.numericUpDown6.Location = new System.Drawing.Point(110, 108);
+ this.numericUpDown6.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown6.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown6.Name = "numericUpDown6";
+ this.numericUpDown6.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown6.TabIndex = 21;
+ this.numericUpDown6.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown7
+ //
+ this.numericUpDown7.Location = new System.Drawing.Point(58, 108);
+ this.numericUpDown7.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown7.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown7.Name = "numericUpDown7";
+ this.numericUpDown7.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown7.TabIndex = 20;
+ this.numericUpDown7.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown8
+ //
+ this.numericUpDown8.Location = new System.Drawing.Point(6, 108);
+ this.numericUpDown8.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown8.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown8.Name = "numericUpDown8";
+ this.numericUpDown8.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown8.TabIndex = 19;
+ this.numericUpDown8.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(6, 92);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(75, 13);
+ this.label2.TabIndex = 18;
+ this.label2.Text = "Network mask";
+ //
+ // numericUpDown9
+ //
+ this.numericUpDown9.Location = new System.Drawing.Point(162, 150);
+ this.numericUpDown9.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown9.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown9.Name = "numericUpDown9";
+ this.numericUpDown9.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown9.TabIndex = 27;
+ this.numericUpDown9.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown10
+ //
+ this.numericUpDown10.Location = new System.Drawing.Point(110, 150);
+ this.numericUpDown10.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown10.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown10.Name = "numericUpDown10";
+ this.numericUpDown10.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown10.TabIndex = 26;
+ this.numericUpDown10.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown11
+ //
+ this.numericUpDown11.Location = new System.Drawing.Point(58, 150);
+ this.numericUpDown11.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown11.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown11.Name = "numericUpDown11";
+ this.numericUpDown11.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown11.TabIndex = 25;
+ this.numericUpDown11.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // numericUpDown12
+ //
+ this.numericUpDown12.Location = new System.Drawing.Point(6, 150);
+ this.numericUpDown12.Maximum = new decimal(new int[] {
+ 255,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown12.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.numericUpDown12.Name = "numericUpDown12";
+ this.numericUpDown12.Size = new System.Drawing.Size(46, 20);
+ this.numericUpDown12.TabIndex = 24;
+ this.numericUpDown12.Value = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(6, 134);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(43, 13);
+ this.label3.TabIndex = 23;
+ this.label3.Text = "Getway";
//
// frmMain
//
@@ -1485,11 +1887,26 @@
this.grpSerial.ResumeLayout(false);
this.grpParallel.ResumeLayout(false);
this.groupBox16.ResumeLayout(false);
+ this.tabNetwork.ResumeLayout(false);
this.tabPaths.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.tabAbout.ResumeLayout(false);
this.tabAbout.PerformLayout();
+ this.groupBox3.ResumeLayout(false);
+ this.groupBox3.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).EndInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown11)).EndInit();
+
((System.ComponentModel.ISupportInitialize)(this.numericUpDown12)).EndInit();
this.ResumeLayout(false);
}