|
@@ -35,6 +35,12 @@ namespace ISCSIConsole
|
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
|
this.MbRadioButton = new System.Windows.Forms.RadioButton();
|
|
|
this.GbRadioButton = new System.Windows.Forms.RadioButton();
|
|
|
+ this.BaseOnCheckBox = new System.Windows.Forms.CheckBox();
|
|
|
+ this.ImageFileButton = new System.Windows.Forms.Button();
|
|
|
+ this.ImageFileTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.DiskInfiValueLabel = new System.Windows.Forms.Label();
|
|
|
+ this.DiskInfoLabel = new System.Windows.Forms.Label();
|
|
|
+ this.openDiskImageDialog = new System.Windows.Forms.OpenFileDialog();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numericDiskSize)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
@@ -56,7 +62,7 @@ namespace ISCSIConsole
|
|
|
this.numericDiskSize.TabIndex = 0;
|
|
|
this.numericDiskSize.ThousandsSeparator = true;
|
|
|
this.numericDiskSize.Value = new decimal(new int[] {
|
|
|
- 100,
|
|
|
+ 512,
|
|
|
0,
|
|
|
0,
|
|
|
0});
|
|
@@ -72,7 +78,7 @@ namespace ISCSIConsole
|
|
|
//
|
|
|
// btnOK
|
|
|
//
|
|
|
- this.btnOK.Location = new System.Drawing.Point(224, 88);
|
|
|
+ this.btnOK.Location = new System.Drawing.Point(326, 187);
|
|
|
this.btnOK.Name = "btnOK";
|
|
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
|
|
this.btnOK.TabIndex = 6;
|
|
@@ -83,7 +89,7 @@ namespace ISCSIConsole
|
|
|
// btnCancel
|
|
|
//
|
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
- this.btnCancel.Location = new System.Drawing.Point(305, 88);
|
|
|
+ this.btnCancel.Location = new System.Drawing.Point(407, 187);
|
|
|
this.btnCancel.Name = "btnCancel";
|
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
|
this.btnCancel.TabIndex = 7;
|
|
@@ -113,12 +119,69 @@ namespace ISCSIConsole
|
|
|
this.GbRadioButton.Text = "GB";
|
|
|
this.GbRadioButton.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
+ // BaseOnCheckBox
|
|
|
+ //
|
|
|
+ this.BaseOnCheckBox.AutoSize = true;
|
|
|
+ this.BaseOnCheckBox.Location = new System.Drawing.Point(14, 44);
|
|
|
+ this.BaseOnCheckBox.Name = "BaseOnCheckBox";
|
|
|
+ this.BaseOnCheckBox.Size = new System.Drawing.Size(66, 16);
|
|
|
+ this.BaseOnCheckBox.TabIndex = 10;
|
|
|
+ this.BaseOnCheckBox.Text = "BaseOn:";
|
|
|
+ this.BaseOnCheckBox.UseVisualStyleBackColor = true;
|
|
|
+ this.BaseOnCheckBox.CheckedChanged += new System.EventHandler(this.BaseOnCheckBox_CheckedChanged);
|
|
|
+ //
|
|
|
+ // ImageFileButton
|
|
|
+ //
|
|
|
+ this.ImageFileButton.Enabled = false;
|
|
|
+ this.ImageFileButton.Location = new System.Drawing.Point(397, 40);
|
|
|
+ this.ImageFileButton.Name = "ImageFileButton";
|
|
|
+ this.ImageFileButton.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.ImageFileButton.TabIndex = 12;
|
|
|
+ this.ImageFileButton.Text = "Browse..";
|
|
|
+ this.ImageFileButton.UseVisualStyleBackColor = true;
|
|
|
+ this.ImageFileButton.Click += new System.EventHandler(this.ImageFileButton_Click);
|
|
|
+ //
|
|
|
+ // ImageFileTextBox
|
|
|
+ //
|
|
|
+ this.ImageFileTextBox.Enabled = false;
|
|
|
+ this.ImageFileTextBox.Location = new System.Drawing.Point(86, 42);
|
|
|
+ this.ImageFileTextBox.Name = "ImageFileTextBox";
|
|
|
+ this.ImageFileTextBox.Size = new System.Drawing.Size(305, 21);
|
|
|
+ this.ImageFileTextBox.TabIndex = 11;
|
|
|
+ //
|
|
|
+ // DiskInfiValueLabel
|
|
|
+ //
|
|
|
+ this.DiskInfiValueLabel.AutoSize = true;
|
|
|
+ this.DiskInfiValueLabel.Location = new System.Drawing.Point(54, 88);
|
|
|
+ this.DiskInfiValueLabel.Name = "DiskInfiValueLabel";
|
|
|
+ this.DiskInfiValueLabel.Size = new System.Drawing.Size(29, 12);
|
|
|
+ this.DiskInfiValueLabel.TabIndex = 13;
|
|
|
+ this.DiskInfiValueLabel.Text = "____";
|
|
|
+ //
|
|
|
+ // DiskInfoLabel
|
|
|
+ //
|
|
|
+ this.DiskInfoLabel.AutoSize = true;
|
|
|
+ this.DiskInfoLabel.Location = new System.Drawing.Point(12, 66);
|
|
|
+ this.DiskInfoLabel.Name = "DiskInfoLabel";
|
|
|
+ this.DiskInfoLabel.Size = new System.Drawing.Size(215, 12);
|
|
|
+ this.DiskInfoLabel.TabIndex = 14;
|
|
|
+ this.DiskInfoLabel.Text = "Disk Image Info (only dynamic bdd):";
|
|
|
+ //
|
|
|
+ // openDiskImageDialog
|
|
|
+ //
|
|
|
+ this.openDiskImageDialog.Filter = "Block Differencing Disk Image Files (*.bdd)|*.bdd";
|
|
|
+ //
|
|
|
// CreateRAMDiskForm
|
|
|
//
|
|
|
this.AcceptButton = this.btnOK;
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
|
this.CancelButton = this.btnCancel;
|
|
|
- this.ClientSize = new System.Drawing.Size(384, 111);
|
|
|
+ this.ClientSize = new System.Drawing.Size(484, 211);
|
|
|
+ this.Controls.Add(this.DiskInfiValueLabel);
|
|
|
+ this.Controls.Add(this.DiskInfoLabel);
|
|
|
+ this.Controls.Add(this.ImageFileButton);
|
|
|
+ this.Controls.Add(this.ImageFileTextBox);
|
|
|
+ this.Controls.Add(this.BaseOnCheckBox);
|
|
|
this.Controls.Add(this.GbRadioButton);
|
|
|
this.Controls.Add(this.MbRadioButton);
|
|
|
this.Controls.Add(this.btnCancel);
|
|
@@ -128,8 +191,8 @@ namespace ISCSIConsole
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
this.MaximizeBox = false;
|
|
|
- this.MaximumSize = new System.Drawing.Size(400, 150);
|
|
|
- this.MinimumSize = new System.Drawing.Size(400, 150);
|
|
|
+ this.MaximumSize = new System.Drawing.Size(500, 250);
|
|
|
+ this.MinimumSize = new System.Drawing.Size(500, 250);
|
|
|
this.Name = "CreateRAMDiskForm";
|
|
|
this.ShowInTaskbar = false;
|
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
|
@@ -148,5 +211,11 @@ namespace ISCSIConsole
|
|
|
private System.Windows.Forms.Button btnCancel;
|
|
|
private System.Windows.Forms.RadioButton MbRadioButton;
|
|
|
private System.Windows.Forms.RadioButton GbRadioButton;
|
|
|
+ private System.Windows.Forms.CheckBox BaseOnCheckBox;
|
|
|
+ private System.Windows.Forms.Button ImageFileButton;
|
|
|
+ private System.Windows.Forms.TextBox ImageFileTextBox;
|
|
|
+ private System.Windows.Forms.Label DiskInfiValueLabel;
|
|
|
+ private System.Windows.Forms.Label DiskInfoLabel;
|
|
|
+ private System.Windows.Forms.OpenFileDialog openDiskImageDialog;
|
|
|
}
|
|
|
}
|