add some settings dialog detail

svn path=/trunk/tools/RosTE/; revision=188
This commit is contained in:
Ged Murphy 2007-05-18 19:39:03 +00:00
parent 553c896e5f
commit b6e24467b4
3 changed files with 451 additions and 32 deletions

View File

@ -34,6 +34,8 @@ namespace RosTEGUI
this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage1 = new System.Windows.Forms.TabPage();
this.memoryPanel = new System.Windows.Forms.Panel(); this.memoryPanel = new System.Windows.Forms.Panel();
this.memoryGrpBox = new System.Windows.Forms.GroupBox(); this.memoryGrpBox = new System.Windows.Forms.GroupBox();
this.memoryUpDwn = new System.Windows.Forms.NumericUpDown();
this.memoryTrkBar = new System.Windows.Forms.TrackBar();
this.tabPage2 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage();
this.cdromPanel = new System.Windows.Forms.Panel(); this.cdromPanel = new System.Windows.Forms.Panel();
this.cdromGrpBox = new System.Windows.Forms.GroupBox(); this.cdromGrpBox = new System.Windows.Forms.GroupBox();
@ -47,8 +49,8 @@ namespace RosTEGUI
this.ethernetPanel = new System.Windows.Forms.Panel(); this.ethernetPanel = new System.Windows.Forms.Panel();
this.ethernetGrpBox = new System.Windows.Forms.GroupBox(); this.ethernetGrpBox = new System.Windows.Forms.GroupBox();
this.tabPage6 = new System.Windows.Forms.TabPage(); this.tabPage6 = new System.Windows.Forms.TabPage();
this.soundPanel = new System.Windows.Forms.Panel(); this.audioPanel = new System.Windows.Forms.Panel();
this.soundGrpBox = new System.Windows.Forms.GroupBox(); this.audioGrpBox = new System.Windows.Forms.GroupBox();
this.tabPage7 = new System.Windows.Forms.TabPage(); this.tabPage7 = new System.Windows.Forms.TabPage();
this.displayPanel = new System.Windows.Forms.Panel(); this.displayPanel = new System.Windows.Forms.Panel();
this.displayGrpBox = new System.Windows.Forms.GroupBox(); this.displayGrpBox = new System.Windows.Forms.GroupBox();
@ -59,6 +61,7 @@ namespace RosTEGUI
this.settingsTab = new System.Windows.Forms.TabControl(); this.settingsTab = new System.Windows.Forms.TabControl();
this.settingsHardwareTab = new System.Windows.Forms.TabPage(); this.settingsHardwareTab = new System.Windows.Forms.TabPage();
this.settingsOptionsTab = new System.Windows.Forms.TabPage(); this.settingsOptionsTab = new System.Windows.Forms.TabPage();
this.optionsContainerPanel = new System.Windows.Forms.Panel();
this.optionsTempDesignSheetTab = new System.Windows.Forms.TabControl(); this.optionsTempDesignSheetTab = new System.Windows.Forms.TabControl();
this.tabPage8 = new System.Windows.Forms.TabPage(); this.tabPage8 = new System.Windows.Forms.TabPage();
this.generalPanel = new System.Windows.Forms.Panel(); this.generalPanel = new System.Windows.Forms.Panel();
@ -73,26 +76,63 @@ namespace RosTEGUI
this.advancedPanel = new System.Windows.Forms.Panel(); this.advancedPanel = new System.Windows.Forms.Panel();
this.advancedGrpBox = new System.Windows.Forms.GroupBox(); this.advancedGrpBox = new System.Windows.Forms.GroupBox();
this.optionsSelLstBox = new System.Windows.Forms.ListBox(); this.optionsSelLstBox = new System.Windows.Forms.ListBox();
this.optionsContainerPanel = new System.Windows.Forms.Panel(); this.memoryLabel = new System.Windows.Forms.Label();
this.cdromEnableChkBox = new System.Windows.Forms.CheckBox();
this.cdromLabel = new System.Windows.Forms.Label();
this.cdromConStatusLbl = new System.Windows.Forms.Label();
this.cdromConGrpBox = new System.Windows.Forms.GroupBox();
this.cdromPhyDrvRadio = new System.Windows.Forms.RadioButton();
this.cdromIsoRadio = new System.Windows.Forms.RadioButton();
this.cdromPhyDrvCombo = new System.Windows.Forms.ComboBox();
this.browseDlg = new System.Windows.Forms.FolderBrowserDialog();
this.cdromIsoTxtBox = new System.Windows.Forms.TextBox();
this.cdromIsoBrwse = new System.Windows.Forms.Button();
this.harddiskLstBox = new System.Windows.Forms.ListBox();
this.harddiskAddBtn = new System.Windows.Forms.Button();
this.harddiskRemoveBtn = new System.Windows.Forms.Button();
this.harddiskLabel1 = new System.Windows.Forms.Label();
this.harddiskDetailsGrpBox = new System.Windows.Forms.GroupBox();
this.harddiskFileNameTxtBox = new System.Windows.Forms.TextBox();
this.harddiskLabel2 = new System.Windows.Forms.Label();
this.harddiskLabel3 = new System.Windows.Forms.Label();
this.harddiskSizeLbl = new System.Windows.Forms.Label();
this.harddiskLabel4 = new System.Windows.Forms.Label();
this.harddiskFreeSpcLbl = new System.Windows.Forms.Label();
this.floppyConnGrpBox = new System.Windows.Forms.GroupBox();
this.floppyImgBrwse = new System.Windows.Forms.Button();
this.floppyImgTxtBox = new System.Windows.Forms.TextBox();
this.floppyPhyDrvCombo = new System.Windows.Forms.ComboBox();
this.floppyImgRadio = new System.Windows.Forms.RadioButton();
this.floppyPhyDrvRadio = new System.Windows.Forms.RadioButton();
this.floppyConnLbl = new System.Windows.Forms.Label();
this.floppyLabel = new System.Windows.Forms.Label();
this.floppyEnableChkBox = new System.Windows.Forms.CheckBox();
this.hardwareContainerPanel.SuspendLayout(); this.hardwareContainerPanel.SuspendLayout();
this.hardwareTempDesignSheetTab.SuspendLayout(); this.hardwareTempDesignSheetTab.SuspendLayout();
this.tabPage1.SuspendLayout(); this.tabPage1.SuspendLayout();
this.memoryPanel.SuspendLayout(); this.memoryPanel.SuspendLayout();
this.memoryGrpBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.memoryUpDwn)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.memoryTrkBar)).BeginInit();
this.tabPage2.SuspendLayout(); this.tabPage2.SuspendLayout();
this.cdromPanel.SuspendLayout(); this.cdromPanel.SuspendLayout();
this.cdromGrpBox.SuspendLayout();
this.tabPage3.SuspendLayout(); this.tabPage3.SuspendLayout();
this.harddiskPanel.SuspendLayout(); this.harddiskPanel.SuspendLayout();
this.harddiskGrpBox.SuspendLayout();
this.tabPage4.SuspendLayout(); this.tabPage4.SuspendLayout();
this.networkPanel.SuspendLayout(); this.networkPanel.SuspendLayout();
this.floppyGrpBox.SuspendLayout();
this.tabPage5.SuspendLayout(); this.tabPage5.SuspendLayout();
this.ethernetPanel.SuspendLayout(); this.ethernetPanel.SuspendLayout();
this.tabPage6.SuspendLayout(); this.tabPage6.SuspendLayout();
this.soundPanel.SuspendLayout(); this.audioPanel.SuspendLayout();
this.tabPage7.SuspendLayout(); this.tabPage7.SuspendLayout();
this.displayPanel.SuspendLayout(); this.displayPanel.SuspendLayout();
this.settingsTab.SuspendLayout(); this.settingsTab.SuspendLayout();
this.settingsHardwareTab.SuspendLayout(); this.settingsHardwareTab.SuspendLayout();
this.settingsOptionsTab.SuspendLayout(); this.settingsOptionsTab.SuspendLayout();
this.optionsContainerPanel.SuspendLayout();
this.optionsTempDesignSheetTab.SuspendLayout(); this.optionsTempDesignSheetTab.SuspendLayout();
this.tabPage8.SuspendLayout(); this.tabPage8.SuspendLayout();
this.generalPanel.SuspendLayout(); this.generalPanel.SuspendLayout();
@ -102,7 +142,9 @@ namespace RosTEGUI
this.snapshotsPanel.SuspendLayout(); this.snapshotsPanel.SuspendLayout();
this.tabPage11.SuspendLayout(); this.tabPage11.SuspendLayout();
this.advancedPanel.SuspendLayout(); this.advancedPanel.SuspendLayout();
this.optionsContainerPanel.SuspendLayout(); this.cdromConGrpBox.SuspendLayout();
this.harddiskDetailsGrpBox.SuspendLayout();
this.floppyConnGrpBox.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// hardwareSelLstBox // hardwareSelLstBox
@ -172,6 +214,9 @@ namespace RosTEGUI
// //
// memoryGrpBox // memoryGrpBox
// //
this.memoryGrpBox.Controls.Add(this.memoryLabel);
this.memoryGrpBox.Controls.Add(this.memoryUpDwn);
this.memoryGrpBox.Controls.Add(this.memoryTrkBar);
this.memoryGrpBox.Location = new System.Drawing.Point(3, 3); this.memoryGrpBox.Location = new System.Drawing.Point(3, 3);
this.memoryGrpBox.Name = "memoryGrpBox"; this.memoryGrpBox.Name = "memoryGrpBox";
this.memoryGrpBox.Size = new System.Drawing.Size(283, 364); this.memoryGrpBox.Size = new System.Drawing.Size(283, 364);
@ -179,6 +224,20 @@ namespace RosTEGUI
this.memoryGrpBox.TabStop = false; this.memoryGrpBox.TabStop = false;
this.memoryGrpBox.Text = "Memory"; this.memoryGrpBox.Text = "Memory";
// //
// memoryUpDwn
//
this.memoryUpDwn.Location = new System.Drawing.Point(216, 85);
this.memoryUpDwn.Name = "memoryUpDwn";
this.memoryUpDwn.Size = new System.Drawing.Size(58, 20);
this.memoryUpDwn.TabIndex = 1;
//
// memoryTrkBar
//
this.memoryTrkBar.Location = new System.Drawing.Point(6, 85);
this.memoryTrkBar.Name = "memoryTrkBar";
this.memoryTrkBar.Size = new System.Drawing.Size(204, 45);
this.memoryTrkBar.TabIndex = 0;
//
// tabPage2 // tabPage2
// //
this.tabPage2.Controls.Add(this.cdromPanel); this.tabPage2.Controls.Add(this.cdromPanel);
@ -201,6 +260,10 @@ namespace RosTEGUI
// //
// cdromGrpBox // cdromGrpBox
// //
this.cdromGrpBox.Controls.Add(this.cdromConGrpBox);
this.cdromGrpBox.Controls.Add(this.cdromConStatusLbl);
this.cdromGrpBox.Controls.Add(this.cdromLabel);
this.cdromGrpBox.Controls.Add(this.cdromEnableChkBox);
this.cdromGrpBox.Location = new System.Drawing.Point(3, 3); this.cdromGrpBox.Location = new System.Drawing.Point(3, 3);
this.cdromGrpBox.Name = "cdromGrpBox"; this.cdromGrpBox.Name = "cdromGrpBox";
this.cdromGrpBox.Size = new System.Drawing.Size(283, 364); this.cdromGrpBox.Size = new System.Drawing.Size(283, 364);
@ -230,6 +293,13 @@ namespace RosTEGUI
// //
// harddiskGrpBox // harddiskGrpBox
// //
this.harddiskGrpBox.Controls.Add(this.harddiskFreeSpcLbl);
this.harddiskGrpBox.Controls.Add(this.harddiskLabel4);
this.harddiskGrpBox.Controls.Add(this.harddiskDetailsGrpBox);
this.harddiskGrpBox.Controls.Add(this.harddiskLabel1);
this.harddiskGrpBox.Controls.Add(this.harddiskRemoveBtn);
this.harddiskGrpBox.Controls.Add(this.harddiskAddBtn);
this.harddiskGrpBox.Controls.Add(this.harddiskLstBox);
this.harddiskGrpBox.Location = new System.Drawing.Point(3, 3); this.harddiskGrpBox.Location = new System.Drawing.Point(3, 3);
this.harddiskGrpBox.Name = "harddiskGrpBox"; this.harddiskGrpBox.Name = "harddiskGrpBox";
this.harddiskGrpBox.Size = new System.Drawing.Size(283, 364); this.harddiskGrpBox.Size = new System.Drawing.Size(283, 364);
@ -259,6 +329,10 @@ namespace RosTEGUI
// //
// floppyGrpBox // floppyGrpBox
// //
this.floppyGrpBox.Controls.Add(this.floppyConnGrpBox);
this.floppyGrpBox.Controls.Add(this.floppyConnLbl);
this.floppyGrpBox.Controls.Add(this.floppyLabel);
this.floppyGrpBox.Controls.Add(this.floppyEnableChkBox);
this.floppyGrpBox.Location = new System.Drawing.Point(3, 3); this.floppyGrpBox.Location = new System.Drawing.Point(3, 3);
this.floppyGrpBox.Name = "floppyGrpBox"; this.floppyGrpBox.Name = "floppyGrpBox";
this.floppyGrpBox.Size = new System.Drawing.Size(283, 364); this.floppyGrpBox.Size = new System.Drawing.Size(283, 364);
@ -297,32 +371,32 @@ namespace RosTEGUI
// //
// tabPage6 // tabPage6
// //
this.tabPage6.Controls.Add(this.soundPanel); this.tabPage6.Controls.Add(this.audioPanel);
this.tabPage6.Location = new System.Drawing.Point(4, 22); this.tabPage6.Location = new System.Drawing.Point(4, 22);
this.tabPage6.Name = "tabPage6"; this.tabPage6.Name = "tabPage6";
this.tabPage6.Padding = new System.Windows.Forms.Padding(3); this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
this.tabPage6.Size = new System.Drawing.Size(286, 367); this.tabPage6.Size = new System.Drawing.Size(286, 367);
this.tabPage6.TabIndex = 5; this.tabPage6.TabIndex = 5;
this.tabPage6.Text = "Sound"; this.tabPage6.Text = "Audio";
this.tabPage6.UseVisualStyleBackColor = true; this.tabPage6.UseVisualStyleBackColor = true;
// //
// soundPanel // audioPanel
// //
this.soundPanel.Controls.Add(this.soundGrpBox); this.audioPanel.Controls.Add(this.audioGrpBox);
this.soundPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.audioPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.soundPanel.Location = new System.Drawing.Point(3, 3); this.audioPanel.Location = new System.Drawing.Point(3, 3);
this.soundPanel.Name = "soundPanel"; this.audioPanel.Name = "audioPanel";
this.soundPanel.Size = new System.Drawing.Size(280, 361); this.audioPanel.Size = new System.Drawing.Size(280, 361);
this.soundPanel.TabIndex = 0; this.audioPanel.TabIndex = 0;
// //
// soundGrpBox // audioGrpBox
// //
this.soundGrpBox.Location = new System.Drawing.Point(3, 3); this.audioGrpBox.Location = new System.Drawing.Point(3, 3);
this.soundGrpBox.Name = "soundGrpBox"; this.audioGrpBox.Name = "audioGrpBox";
this.soundGrpBox.Size = new System.Drawing.Size(283, 364); this.audioGrpBox.Size = new System.Drawing.Size(283, 364);
this.soundGrpBox.TabIndex = 0; this.audioGrpBox.TabIndex = 0;
this.soundGrpBox.TabStop = false; this.audioGrpBox.TabStop = false;
this.soundGrpBox.Text = "Sound"; this.audioGrpBox.Text = "Audio";
// //
// tabPage7 // tabPage7
// //
@ -370,6 +444,7 @@ namespace RosTEGUI
this.settingsCancelBtn.TabIndex = 4; this.settingsCancelBtn.TabIndex = 4;
this.settingsCancelBtn.Text = "Cancel"; this.settingsCancelBtn.Text = "Cancel";
this.settingsCancelBtn.UseVisualStyleBackColor = true; this.settingsCancelBtn.UseVisualStyleBackColor = true;
this.settingsCancelBtn.Click += new System.EventHandler(this.settingsCancelBtn_Click);
// //
// settingsApplyBtn // settingsApplyBtn
// //
@ -423,6 +498,14 @@ namespace RosTEGUI
this.settingsOptionsTab.Text = "Options"; this.settingsOptionsTab.Text = "Options";
this.settingsOptionsTab.UseVisualStyleBackColor = true; this.settingsOptionsTab.UseVisualStyleBackColor = true;
// //
// optionsContainerPanel
//
this.optionsContainerPanel.Controls.Add(this.optionsTempDesignSheetTab);
this.optionsContainerPanel.Location = new System.Drawing.Point(83, 0);
this.optionsContainerPanel.Name = "optionsContainerPanel";
this.optionsContainerPanel.Size = new System.Drawing.Size(297, 396);
this.optionsContainerPanel.TabIndex = 8;
//
// optionsTempDesignSheetTab // optionsTempDesignSheetTab
// //
this.optionsTempDesignSheetTab.Controls.Add(this.tabPage8); this.optionsTempDesignSheetTab.Controls.Add(this.tabPage8);
@ -570,13 +653,292 @@ namespace RosTEGUI
this.optionsSelLstBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.listboxSelection_DrawItem); this.optionsSelLstBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.listboxSelection_DrawItem);
this.optionsSelLstBox.SelectedIndexChanged += new System.EventHandler(this.listboxSelection_SelectedIndexChanged); this.optionsSelLstBox.SelectedIndexChanged += new System.EventHandler(this.listboxSelection_SelectedIndexChanged);
// //
// optionsContainerPanel // memoryLabel
// //
this.optionsContainerPanel.Controls.Add(this.optionsTempDesignSheetTab); this.memoryLabel.AutoSize = true;
this.optionsContainerPanel.Location = new System.Drawing.Point(83, 0); this.memoryLabel.Location = new System.Drawing.Point(6, 32);
this.optionsContainerPanel.Name = "optionsContainerPanel"; this.memoryLabel.Name = "memoryLabel";
this.optionsContainerPanel.Size = new System.Drawing.Size(297, 396); this.memoryLabel.Size = new System.Drawing.Size(229, 26);
this.optionsContainerPanel.TabIndex = 8; this.memoryLabel.TabIndex = 2;
this.memoryLabel.Text = "Select how much virtual memory you would like\r\nto make available for this virtual" +
" machine";
//
// cdromEnableChkBox
//
this.cdromEnableChkBox.AutoSize = true;
this.cdromEnableChkBox.Location = new System.Drawing.Point(15, 51);
this.cdromEnableChkBox.Name = "cdromEnableChkBox";
this.cdromEnableChkBox.Size = new System.Drawing.Size(105, 17);
this.cdromEnableChkBox.TabIndex = 0;
this.cdromEnableChkBox.Text = "Enable CD-ROM";
this.cdromEnableChkBox.UseVisualStyleBackColor = true;
//
// cdromLabel
//
this.cdromLabel.AutoSize = true;
this.cdromLabel.Location = new System.Drawing.Point(7, 26);
this.cdromLabel.Name = "cdromLabel";
this.cdromLabel.Size = new System.Drawing.Size(43, 13);
this.cdromLabel.TabIndex = 1;
this.cdromLabel.Text = "Status :";
//
// cdromConStatusLbl
//
this.cdromConStatusLbl.AutoSize = true;
this.cdromConStatusLbl.Location = new System.Drawing.Point(56, 26);
this.cdromConStatusLbl.Name = "cdromConStatusLbl";
this.cdromConStatusLbl.Size = new System.Drawing.Size(79, 13);
this.cdromConStatusLbl.TabIndex = 2;
this.cdromConStatusLbl.Text = "Not Connected";
//
// cdromConGrpBox
//
this.cdromConGrpBox.Controls.Add(this.cdromIsoBrwse);
this.cdromConGrpBox.Controls.Add(this.cdromIsoTxtBox);
this.cdromConGrpBox.Controls.Add(this.cdromPhyDrvCombo);
this.cdromConGrpBox.Controls.Add(this.cdromIsoRadio);
this.cdromConGrpBox.Controls.Add(this.cdromPhyDrvRadio);
this.cdromConGrpBox.Location = new System.Drawing.Point(6, 96);
this.cdromConGrpBox.Name = "cdromConGrpBox";
this.cdromConGrpBox.Size = new System.Drawing.Size(268, 192);
this.cdromConGrpBox.TabIndex = 3;
this.cdromConGrpBox.TabStop = false;
this.cdromConGrpBox.Text = "Connection";
//
// cdromPhyDrvRadio
//
this.cdromPhyDrvRadio.AutoSize = true;
this.cdromPhyDrvRadio.Location = new System.Drawing.Point(6, 28);
this.cdromPhyDrvRadio.Name = "cdromPhyDrvRadio";
this.cdromPhyDrvRadio.Size = new System.Drawing.Size(111, 17);
this.cdromPhyDrvRadio.TabIndex = 0;
this.cdromPhyDrvRadio.TabStop = true;
this.cdromPhyDrvRadio.Text = "Use physical drive";
this.cdromPhyDrvRadio.UseVisualStyleBackColor = true;
//
// cdromIsoRadio
//
this.cdromIsoRadio.AutoSize = true;
this.cdromIsoRadio.Location = new System.Drawing.Point(6, 107);
this.cdromIsoRadio.Name = "cdromIsoRadio";
this.cdromIsoRadio.Size = new System.Drawing.Size(96, 17);
this.cdromIsoRadio.TabIndex = 1;
this.cdromIsoRadio.TabStop = true;
this.cdromIsoRadio.Text = "Use ISO image";
this.cdromIsoRadio.UseVisualStyleBackColor = true;
//
// cdromPhyDrvCombo
//
this.cdromPhyDrvCombo.FormattingEnabled = true;
this.cdromPhyDrvCombo.Location = new System.Drawing.Point(26, 51);
this.cdromPhyDrvCombo.Name = "cdromPhyDrvCombo";
this.cdromPhyDrvCombo.Size = new System.Drawing.Size(121, 21);
this.cdromPhyDrvCombo.TabIndex = 2;
//
// cdromIsoTxtBox
//
this.cdromIsoTxtBox.Location = new System.Drawing.Point(26, 130);
this.cdromIsoTxtBox.Name = "cdromIsoTxtBox";
this.cdromIsoTxtBox.Size = new System.Drawing.Size(162, 20);
this.cdromIsoTxtBox.TabIndex = 3;
//
// cdromIsoBrwse
//
this.cdromIsoBrwse.Location = new System.Drawing.Point(194, 128);
this.cdromIsoBrwse.Name = "cdromIsoBrwse";
this.cdromIsoBrwse.Size = new System.Drawing.Size(68, 23);
this.cdromIsoBrwse.TabIndex = 4;
this.cdromIsoBrwse.Text = "Browse...";
this.cdromIsoBrwse.UseVisualStyleBackColor = true;
//
// harddiskLstBox
//
this.harddiskLstBox.FormattingEnabled = true;
this.harddiskLstBox.Location = new System.Drawing.Point(13, 37);
this.harddiskLstBox.Name = "harddiskLstBox";
this.harddiskLstBox.Size = new System.Drawing.Size(202, 56);
this.harddiskLstBox.TabIndex = 0;
//
// harddiskAddBtn
//
this.harddiskAddBtn.Location = new System.Drawing.Point(13, 99);
this.harddiskAddBtn.Name = "harddiskAddBtn";
this.harddiskAddBtn.Size = new System.Drawing.Size(75, 23);
this.harddiskAddBtn.TabIndex = 1;
this.harddiskAddBtn.Text = "Add";
this.harddiskAddBtn.UseVisualStyleBackColor = true;
//
// harddiskRemoveBtn
//
this.harddiskRemoveBtn.Location = new System.Drawing.Point(94, 99);
this.harddiskRemoveBtn.Name = "harddiskRemoveBtn";
this.harddiskRemoveBtn.Size = new System.Drawing.Size(75, 23);
this.harddiskRemoveBtn.TabIndex = 2;
this.harddiskRemoveBtn.Text = "Remove";
this.harddiskRemoveBtn.UseVisualStyleBackColor = true;
//
// harddiskLabel1
//
this.harddiskLabel1.AutoSize = true;
this.harddiskLabel1.Location = new System.Drawing.Point(10, 21);
this.harddiskLabel1.Name = "harddiskLabel1";
this.harddiskLabel1.Size = new System.Drawing.Size(101, 13);
this.harddiskLabel1.TabIndex = 3;
this.harddiskLabel1.Text = "Available hard disks";
//
// harddiskDetailsGrpBox
//
this.harddiskDetailsGrpBox.Controls.Add(this.harddiskSizeLbl);
this.harddiskDetailsGrpBox.Controls.Add(this.harddiskLabel3);
this.harddiskDetailsGrpBox.Controls.Add(this.harddiskLabel2);
this.harddiskDetailsGrpBox.Controls.Add(this.harddiskFileNameTxtBox);
this.harddiskDetailsGrpBox.Location = new System.Drawing.Point(13, 147);
this.harddiskDetailsGrpBox.Name = "harddiskDetailsGrpBox";
this.harddiskDetailsGrpBox.Size = new System.Drawing.Size(261, 96);
this.harddiskDetailsGrpBox.TabIndex = 4;
this.harddiskDetailsGrpBox.TabStop = false;
this.harddiskDetailsGrpBox.Text = "Details";
//
// harddiskFileNameTxtBox
//
this.harddiskFileNameTxtBox.Location = new System.Drawing.Point(56, 26);
this.harddiskFileNameTxtBox.Name = "harddiskFileNameTxtBox";
this.harddiskFileNameTxtBox.ReadOnly = true;
this.harddiskFileNameTxtBox.Size = new System.Drawing.Size(199, 20);
this.harddiskFileNameTxtBox.TabIndex = 0;
//
// harddiskLabel2
//
this.harddiskLabel2.AutoSize = true;
this.harddiskLabel2.Location = new System.Drawing.Point(6, 29);
this.harddiskLabel2.Name = "harddiskLabel2";
this.harddiskLabel2.Size = new System.Drawing.Size(44, 13);
this.harddiskLabel2.TabIndex = 1;
this.harddiskLabel2.Text = "Disk file";
//
// harddiskLabel3
//
this.harddiskLabel3.AutoSize = true;
this.harddiskLabel3.Location = new System.Drawing.Point(6, 66);
this.harddiskLabel3.Name = "harddiskLabel3";
this.harddiskLabel3.Size = new System.Drawing.Size(27, 13);
this.harddiskLabel3.TabIndex = 2;
this.harddiskLabel3.Text = "Size";
//
// harddiskSizeLbl
//
this.harddiskSizeLbl.AutoSize = true;
this.harddiskSizeLbl.Location = new System.Drawing.Point(53, 66);
this.harddiskSizeLbl.Name = "harddiskSizeLbl";
this.harddiskSizeLbl.Size = new System.Drawing.Size(37, 13);
this.harddiskSizeLbl.TabIndex = 3;
this.harddiskSizeLbl.Text = "<size>";
//
// harddiskLabel4
//
this.harddiskLabel4.AutoSize = true;
this.harddiskLabel4.Location = new System.Drawing.Point(18, 275);
this.harddiskLabel4.Name = "harddiskLabel4";
this.harddiskLabel4.Size = new System.Drawing.Size(105, 13);
this.harddiskLabel4.TabIndex = 5;
this.harddiskLabel4.Text = "Free space available";
//
// harddiskFreeSpcLbl
//
this.harddiskFreeSpcLbl.AutoSize = true;
this.harddiskFreeSpcLbl.Location = new System.Drawing.Point(129, 275);
this.harddiskFreeSpcLbl.Name = "harddiskFreeSpcLbl";
this.harddiskFreeSpcLbl.Size = new System.Drawing.Size(69, 13);
this.harddiskFreeSpcLbl.TabIndex = 6;
this.harddiskFreeSpcLbl.Text = "<free space>";
//
// floppyConnGrpBox
//
this.floppyConnGrpBox.Controls.Add(this.floppyImgBrwse);
this.floppyConnGrpBox.Controls.Add(this.floppyImgTxtBox);
this.floppyConnGrpBox.Controls.Add(this.floppyPhyDrvCombo);
this.floppyConnGrpBox.Controls.Add(this.floppyImgRadio);
this.floppyConnGrpBox.Controls.Add(this.floppyPhyDrvRadio);
this.floppyConnGrpBox.Location = new System.Drawing.Point(6, 96);
this.floppyConnGrpBox.Name = "floppyConnGrpBox";
this.floppyConnGrpBox.Size = new System.Drawing.Size(268, 192);
this.floppyConnGrpBox.TabIndex = 7;
this.floppyConnGrpBox.TabStop = false;
this.floppyConnGrpBox.Text = "Connection";
//
// floppyImgBrwse
//
this.floppyImgBrwse.Location = new System.Drawing.Point(194, 128);
this.floppyImgBrwse.Name = "floppyImgBrwse";
this.floppyImgBrwse.Size = new System.Drawing.Size(68, 23);
this.floppyImgBrwse.TabIndex = 4;
this.floppyImgBrwse.Text = "Browse...";
this.floppyImgBrwse.UseVisualStyleBackColor = true;
//
// floppyImgTxtBox
//
this.floppyImgTxtBox.Location = new System.Drawing.Point(26, 130);
this.floppyImgTxtBox.Name = "floppyImgTxtBox";
this.floppyImgTxtBox.Size = new System.Drawing.Size(162, 20);
this.floppyImgTxtBox.TabIndex = 3;
//
// floppyPhyDrvCombo
//
this.floppyPhyDrvCombo.FormattingEnabled = true;
this.floppyPhyDrvCombo.Location = new System.Drawing.Point(26, 51);
this.floppyPhyDrvCombo.Name = "floppyPhyDrvCombo";
this.floppyPhyDrvCombo.Size = new System.Drawing.Size(121, 21);
this.floppyPhyDrvCombo.TabIndex = 2;
//
// floppyImgRadio
//
this.floppyImgRadio.AutoSize = true;
this.floppyImgRadio.Location = new System.Drawing.Point(6, 107);
this.floppyImgRadio.Name = "floppyImgRadio";
this.floppyImgRadio.Size = new System.Drawing.Size(106, 17);
this.floppyImgRadio.TabIndex = 1;
this.floppyImgRadio.TabStop = true;
this.floppyImgRadio.Text = "Use floppy image";
this.floppyImgRadio.UseVisualStyleBackColor = true;
//
// floppyPhyDrvRadio
//
this.floppyPhyDrvRadio.AutoSize = true;
this.floppyPhyDrvRadio.Location = new System.Drawing.Point(6, 28);
this.floppyPhyDrvRadio.Name = "floppyPhyDrvRadio";
this.floppyPhyDrvRadio.Size = new System.Drawing.Size(111, 17);
this.floppyPhyDrvRadio.TabIndex = 0;
this.floppyPhyDrvRadio.TabStop = true;
this.floppyPhyDrvRadio.Text = "Use physical drive";
this.floppyPhyDrvRadio.UseVisualStyleBackColor = true;
//
// floppyConnLbl
//
this.floppyConnLbl.AutoSize = true;
this.floppyConnLbl.Location = new System.Drawing.Point(56, 26);
this.floppyConnLbl.Name = "floppyConnLbl";
this.floppyConnLbl.Size = new System.Drawing.Size(70, 13);
this.floppyConnLbl.TabIndex = 6;
this.floppyConnLbl.Text = "<connected>";
//
// floppyLabel
//
this.floppyLabel.AutoSize = true;
this.floppyLabel.Location = new System.Drawing.Point(7, 26);
this.floppyLabel.Name = "floppyLabel";
this.floppyLabel.Size = new System.Drawing.Size(43, 13);
this.floppyLabel.TabIndex = 5;
this.floppyLabel.Text = "Status :";
//
// floppyEnableChkBox
//
this.floppyEnableChkBox.AutoSize = true;
this.floppyEnableChkBox.Location = new System.Drawing.Point(15, 51);
this.floppyEnableChkBox.Name = "floppyEnableChkBox";
this.floppyEnableChkBox.Size = new System.Drawing.Size(90, 17);
this.floppyEnableChkBox.TabIndex = 4;
this.floppyEnableChkBox.Text = "Enable floppy";
this.floppyEnableChkBox.UseVisualStyleBackColor = true;
// //
// SettingsForm // SettingsForm
// //
@ -596,21 +958,32 @@ namespace RosTEGUI
this.hardwareTempDesignSheetTab.ResumeLayout(false); this.hardwareTempDesignSheetTab.ResumeLayout(false);
this.tabPage1.ResumeLayout(false); this.tabPage1.ResumeLayout(false);
this.memoryPanel.ResumeLayout(false); this.memoryPanel.ResumeLayout(false);
this.memoryGrpBox.ResumeLayout(false);
this.memoryGrpBox.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.memoryUpDwn)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.memoryTrkBar)).EndInit();
this.tabPage2.ResumeLayout(false); this.tabPage2.ResumeLayout(false);
this.cdromPanel.ResumeLayout(false); this.cdromPanel.ResumeLayout(false);
this.cdromGrpBox.ResumeLayout(false);
this.cdromGrpBox.PerformLayout();
this.tabPage3.ResumeLayout(false); this.tabPage3.ResumeLayout(false);
this.harddiskPanel.ResumeLayout(false); this.harddiskPanel.ResumeLayout(false);
this.harddiskGrpBox.ResumeLayout(false);
this.harddiskGrpBox.PerformLayout();
this.tabPage4.ResumeLayout(false); this.tabPage4.ResumeLayout(false);
this.networkPanel.ResumeLayout(false); this.networkPanel.ResumeLayout(false);
this.floppyGrpBox.ResumeLayout(false);
this.floppyGrpBox.PerformLayout();
this.tabPage5.ResumeLayout(false); this.tabPage5.ResumeLayout(false);
this.ethernetPanel.ResumeLayout(false); this.ethernetPanel.ResumeLayout(false);
this.tabPage6.ResumeLayout(false); this.tabPage6.ResumeLayout(false);
this.soundPanel.ResumeLayout(false); this.audioPanel.ResumeLayout(false);
this.tabPage7.ResumeLayout(false); this.tabPage7.ResumeLayout(false);
this.displayPanel.ResumeLayout(false); this.displayPanel.ResumeLayout(false);
this.settingsTab.ResumeLayout(false); this.settingsTab.ResumeLayout(false);
this.settingsHardwareTab.ResumeLayout(false); this.settingsHardwareTab.ResumeLayout(false);
this.settingsOptionsTab.ResumeLayout(false); this.settingsOptionsTab.ResumeLayout(false);
this.optionsContainerPanel.ResumeLayout(false);
this.optionsTempDesignSheetTab.ResumeLayout(false); this.optionsTempDesignSheetTab.ResumeLayout(false);
this.tabPage8.ResumeLayout(false); this.tabPage8.ResumeLayout(false);
this.generalPanel.ResumeLayout(false); this.generalPanel.ResumeLayout(false);
@ -620,7 +993,12 @@ namespace RosTEGUI
this.snapshotsPanel.ResumeLayout(false); this.snapshotsPanel.ResumeLayout(false);
this.tabPage11.ResumeLayout(false); this.tabPage11.ResumeLayout(false);
this.advancedPanel.ResumeLayout(false); this.advancedPanel.ResumeLayout(false);
this.optionsContainerPanel.ResumeLayout(false); this.cdromConGrpBox.ResumeLayout(false);
this.cdromConGrpBox.PerformLayout();
this.harddiskDetailsGrpBox.ResumeLayout(false);
this.harddiskDetailsGrpBox.PerformLayout();
this.floppyConnGrpBox.ResumeLayout(false);
this.floppyConnGrpBox.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@ -648,12 +1026,12 @@ namespace RosTEGUI
private System.Windows.Forms.TabPage tabPage5; private System.Windows.Forms.TabPage tabPage5;
private System.Windows.Forms.Panel ethernetPanel; private System.Windows.Forms.Panel ethernetPanel;
private System.Windows.Forms.TabPage tabPage6; private System.Windows.Forms.TabPage tabPage6;
private System.Windows.Forms.Panel soundPanel; private System.Windows.Forms.Panel audioPanel;
private System.Windows.Forms.TabPage tabPage7; private System.Windows.Forms.TabPage tabPage7;
private System.Windows.Forms.Panel displayPanel; private System.Windows.Forms.Panel displayPanel;
private System.Windows.Forms.GroupBox floppyGrpBox; private System.Windows.Forms.GroupBox floppyGrpBox;
private System.Windows.Forms.GroupBox ethernetGrpBox; private System.Windows.Forms.GroupBox ethernetGrpBox;
private System.Windows.Forms.GroupBox soundGrpBox; private System.Windows.Forms.GroupBox audioGrpBox;
private System.Windows.Forms.GroupBox displayGrpBox; private System.Windows.Forms.GroupBox displayGrpBox;
private System.Windows.Forms.TabControl settingsTab; private System.Windows.Forms.TabControl settingsTab;
private System.Windows.Forms.TabPage settingsHardwareTab; private System.Windows.Forms.TabPage settingsHardwareTab;
@ -673,5 +1051,38 @@ namespace RosTEGUI
private System.Windows.Forms.Panel advancedPanel; private System.Windows.Forms.Panel advancedPanel;
private System.Windows.Forms.GroupBox advancedGrpBox; private System.Windows.Forms.GroupBox advancedGrpBox;
private System.Windows.Forms.Panel optionsContainerPanel; private System.Windows.Forms.Panel optionsContainerPanel;
private System.Windows.Forms.NumericUpDown memoryUpDwn;
private System.Windows.Forms.TrackBar memoryTrkBar;
private System.Windows.Forms.Label memoryLabel;
private System.Windows.Forms.Label cdromLabel;
private System.Windows.Forms.CheckBox cdromEnableChkBox;
private System.Windows.Forms.GroupBox cdromConGrpBox;
private System.Windows.Forms.Label cdromConStatusLbl;
private System.Windows.Forms.RadioButton cdromIsoRadio;
private System.Windows.Forms.RadioButton cdromPhyDrvRadio;
private System.Windows.Forms.ComboBox cdromPhyDrvCombo;
private System.Windows.Forms.FolderBrowserDialog browseDlg;
private System.Windows.Forms.Button cdromIsoBrwse;
private System.Windows.Forms.TextBox cdromIsoTxtBox;
private System.Windows.Forms.Label harddiskLabel1;
private System.Windows.Forms.Button harddiskRemoveBtn;
private System.Windows.Forms.Button harddiskAddBtn;
private System.Windows.Forms.ListBox harddiskLstBox;
private System.Windows.Forms.Label harddiskLabel4;
private System.Windows.Forms.GroupBox harddiskDetailsGrpBox;
private System.Windows.Forms.Label harddiskSizeLbl;
private System.Windows.Forms.Label harddiskLabel3;
private System.Windows.Forms.Label harddiskLabel2;
private System.Windows.Forms.TextBox harddiskFileNameTxtBox;
private System.Windows.Forms.Label harddiskFreeSpcLbl;
private System.Windows.Forms.GroupBox floppyConnGrpBox;
private System.Windows.Forms.Button floppyImgBrwse;
private System.Windows.Forms.TextBox floppyImgTxtBox;
private System.Windows.Forms.ComboBox floppyPhyDrvCombo;
private System.Windows.Forms.RadioButton floppyImgRadio;
private System.Windows.Forms.RadioButton floppyPhyDrvRadio;
private System.Windows.Forms.Label floppyConnLbl;
private System.Windows.Forms.Label floppyLabel;
private System.Windows.Forms.CheckBox floppyEnableChkBox;
} }
} }

View File

@ -28,7 +28,7 @@ namespace RosTEGUI
optionsSelLstBox.ItemHeight = optionsSelLstBox.Height / optionsSelLstBox.Items.Count; optionsSelLstBox.ItemHeight = optionsSelLstBox.Height / optionsSelLstBox.Items.Count;
hardwarePanels = new Panel[] { memoryPanel, cdromPanel, harddiskPanel, networkPanel, ethernetPanel, soundPanel, displayPanel }; hardwarePanels = new Panel[] { memoryPanel, cdromPanel, harddiskPanel, networkPanel, ethernetPanel, audioPanel, displayPanel };
optionsPanels = new Panel[] { generalPanel, powerPanel, snapshotsPanel, advancedPanel}; optionsPanels = new Panel[] { generalPanel, powerPanel, snapshotsPanel, advancedPanel};
foreach (Panel pan in hardwarePanels) foreach (Panel pan in hardwarePanels)
@ -102,5 +102,10 @@ namespace RosTEGUI
optionsPanels[(int)listbox.SelectedIndex].Visible = true; optionsPanels[(int)listbox.SelectedIndex].Visible = true;
} }
} }
private void settingsCancelBtn_Click(object sender, EventArgs e)
{
Close();
}
} }
} }

View File

@ -117,4 +117,7 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="browseDlg.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>