|
@@ -45,6 +45,7 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// btnAddDiskImage
|
|
// btnAddDiskImage
|
|
//
|
|
//
|
|
|
|
+ this.btnAddDiskImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnAddDiskImage.Location = new System.Drawing.Point(340, 73);
|
|
this.btnAddDiskImage.Location = new System.Drawing.Point(340, 73);
|
|
this.btnAddDiskImage.Name = "btnAddDiskImage";
|
|
this.btnAddDiskImage.Name = "btnAddDiskImage";
|
|
this.btnAddDiskImage.Size = new System.Drawing.Size(140, 23);
|
|
this.btnAddDiskImage.Size = new System.Drawing.Size(140, 23);
|
|
@@ -55,6 +56,7 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// btnAddPhysicalDisk
|
|
// btnAddPhysicalDisk
|
|
//
|
|
//
|
|
|
|
+ this.btnAddPhysicalDisk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnAddPhysicalDisk.Location = new System.Drawing.Point(340, 102);
|
|
this.btnAddPhysicalDisk.Location = new System.Drawing.Point(340, 102);
|
|
this.btnAddPhysicalDisk.Name = "btnAddPhysicalDisk";
|
|
this.btnAddPhysicalDisk.Name = "btnAddPhysicalDisk";
|
|
this.btnAddPhysicalDisk.Size = new System.Drawing.Size(140, 23);
|
|
this.btnAddPhysicalDisk.Size = new System.Drawing.Size(140, 23);
|
|
@@ -66,6 +68,8 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// txtTargetIQN
|
|
// txtTargetIQN
|
|
//
|
|
//
|
|
|
|
+ this.txtTargetIQN.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtTargetIQN.Location = new System.Drawing.Point(57, 12);
|
|
this.txtTargetIQN.Location = new System.Drawing.Point(57, 12);
|
|
this.txtTargetIQN.Name = "txtTargetIQN";
|
|
this.txtTargetIQN.Name = "txtTargetIQN";
|
|
this.txtTargetIQN.Size = new System.Drawing.Size(275, 21);
|
|
this.txtTargetIQN.Size = new System.Drawing.Size(275, 21);
|
|
@@ -91,7 +95,8 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// btnOK
|
|
// btnOK
|
|
//
|
|
//
|
|
- this.btnOK.Location = new System.Drawing.Point(324, 200);
|
|
|
|
|
|
+ this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
+ this.btnOK.Location = new System.Drawing.Point(324, 194);
|
|
this.btnOK.Name = "btnOK";
|
|
this.btnOK.Name = "btnOK";
|
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
|
this.btnOK.TabIndex = 8;
|
|
this.btnOK.TabIndex = 8;
|
|
@@ -101,8 +106,9 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// btnCancel
|
|
// btnCancel
|
|
//
|
|
//
|
|
|
|
+ this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
- this.btnCancel.Location = new System.Drawing.Point(405, 200);
|
|
|
|
|
|
+ this.btnCancel.Location = new System.Drawing.Point(405, 194);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.btnCancel.TabIndex = 9;
|
|
this.btnCancel.TabIndex = 9;
|
|
@@ -112,6 +118,9 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// listDisks
|
|
// listDisks
|
|
//
|
|
//
|
|
|
|
+ this.listDisks.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
+ | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.listDisks.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.listDisks.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.columnDescription,
|
|
this.columnDescription,
|
|
this.columnSize});
|
|
this.columnSize});
|
|
@@ -137,6 +146,7 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// btnAddVolume
|
|
// btnAddVolume
|
|
//
|
|
//
|
|
|
|
+ this.btnAddVolume.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnAddVolume.Location = new System.Drawing.Point(340, 131);
|
|
this.btnAddVolume.Location = new System.Drawing.Point(340, 131);
|
|
this.btnAddVolume.Name = "btnAddVolume";
|
|
this.btnAddVolume.Name = "btnAddVolume";
|
|
this.btnAddVolume.Size = new System.Drawing.Size(140, 23);
|
|
this.btnAddVolume.Size = new System.Drawing.Size(140, 23);
|
|
@@ -148,6 +158,7 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// btnCreateDiskImage
|
|
// btnCreateDiskImage
|
|
//
|
|
//
|
|
|
|
+ this.btnCreateDiskImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnCreateDiskImage.Location = new System.Drawing.Point(340, 44);
|
|
this.btnCreateDiskImage.Location = new System.Drawing.Point(340, 44);
|
|
this.btnCreateDiskImage.Name = "btnCreateDiskImage";
|
|
this.btnCreateDiskImage.Name = "btnCreateDiskImage";
|
|
this.btnCreateDiskImage.Size = new System.Drawing.Size(140, 23);
|
|
this.btnCreateDiskImage.Size = new System.Drawing.Size(140, 23);
|
|
@@ -158,6 +169,7 @@ namespace ISCSIConsole
|
|
//
|
|
//
|
|
// btnRemove
|
|
// btnRemove
|
|
//
|
|
//
|
|
|
|
+ this.btnRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnRemove.Enabled = false;
|
|
this.btnRemove.Enabled = false;
|
|
this.btnRemove.Location = new System.Drawing.Point(340, 160);
|
|
this.btnRemove.Location = new System.Drawing.Point(340, 160);
|
|
this.btnRemove.Name = "btnRemove";
|
|
this.btnRemove.Name = "btnRemove";
|
|
@@ -184,10 +196,7 @@ namespace ISCSIConsole
|
|
this.Controls.Add(this.txtTargetIQN);
|
|
this.Controls.Add(this.txtTargetIQN);
|
|
this.Controls.Add(this.btnAddPhysicalDisk);
|
|
this.Controls.Add(this.btnAddPhysicalDisk);
|
|
this.Controls.Add(this.btnAddDiskImage);
|
|
this.Controls.Add(this.btnAddDiskImage);
|
|
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
|
this.KeyPreview = true;
|
|
this.KeyPreview = true;
|
|
- this.MaximizeBox = false;
|
|
|
|
- this.MaximumSize = new System.Drawing.Size(500, 260);
|
|
|
|
this.MinimumSize = new System.Drawing.Size(500, 260);
|
|
this.MinimumSize = new System.Drawing.Size(500, 260);
|
|
this.Name = "AddTargetForm";
|
|
this.Name = "AddTargetForm";
|
|
this.ShowInTaskbar = false;
|
|
this.ShowInTaskbar = false;
|