|
@@ -40,8 +40,9 @@ namespace ISCSIConsole
|
|
|
//
|
|
|
// 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.Location = new System.Drawing.Point(405, 191);
|
|
|
+ this.btnCancel.Location = new System.Drawing.Point(589, 265);
|
|
|
this.btnCancel.Name = "btnCancel";
|
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
|
this.btnCancel.TabIndex = 1;
|
|
@@ -51,7 +52,8 @@ namespace ISCSIConsole
|
|
|
//
|
|
|
// btnOK
|
|
|
//
|
|
|
- this.btnOK.Location = new System.Drawing.Point(324, 191);
|
|
|
+ this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.btnOK.Location = new System.Drawing.Point(508, 265);
|
|
|
this.btnOK.Name = "btnOK";
|
|
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
|
|
this.btnOK.TabIndex = 2;
|
|
@@ -61,8 +63,9 @@ namespace ISCSIConsole
|
|
|
//
|
|
|
// chkReadOnly
|
|
|
//
|
|
|
+ this.chkReadOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
this.chkReadOnly.AutoSize = true;
|
|
|
- this.chkReadOnly.Location = new System.Drawing.Point(12, 195);
|
|
|
+ this.chkReadOnly.Location = new System.Drawing.Point(12, 269);
|
|
|
this.chkReadOnly.Name = "chkReadOnly";
|
|
|
this.chkReadOnly.Size = new System.Drawing.Size(78, 16);
|
|
|
this.chkReadOnly.TabIndex = 3;
|
|
@@ -71,19 +74,23 @@ namespace ISCSIConsole
|
|
|
//
|
|
|
// listPhysicalDisks
|
|
|
//
|
|
|
+ this.listPhysicalDisks.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.listPhysicalDisks.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
|
this.columnDisk,
|
|
|
this.columnDescription,
|
|
|
this.columnSerialNumber,
|
|
|
this.columnSize});
|
|
|
this.listPhysicalDisks.FullRowSelect = true;
|
|
|
+ this.listPhysicalDisks.GridLines = true;
|
|
|
+ this.listPhysicalDisks.HideSelection = false;
|
|
|
this.listPhysicalDisks.Location = new System.Drawing.Point(12, 12);
|
|
|
this.listPhysicalDisks.Name = "listPhysicalDisks";
|
|
|
- this.listPhysicalDisks.Size = new System.Drawing.Size(468, 173);
|
|
|
+ this.listPhysicalDisks.Size = new System.Drawing.Size(652, 251);
|
|
|
this.listPhysicalDisks.TabIndex = 4;
|
|
|
this.listPhysicalDisks.UseCompatibleStateImageBehavior = false;
|
|
|
this.listPhysicalDisks.View = System.Windows.Forms.View.Details;
|
|
|
- this.listPhysicalDisks.ColumnWidthChanging += new System.Windows.Forms.ColumnWidthChangingEventHandler(this.listPhysicalDisks_ColumnWidthChanging);
|
|
|
//
|
|
|
// columnDisk
|
|
|
//
|
|
@@ -109,14 +116,13 @@ namespace ISCSIConsole
|
|
|
this.AcceptButton = this.btnOK;
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
|
this.CancelButton = this.btnCancel;
|
|
|
- this.ClientSize = new System.Drawing.Size(484, 211);
|
|
|
+ this.ClientSize = new System.Drawing.Size(668, 289);
|
|
|
this.Controls.Add(this.listPhysicalDisks);
|
|
|
this.Controls.Add(this.chkReadOnly);
|
|
|
this.Controls.Add(this.btnOK);
|
|
|
this.Controls.Add(this.btnCancel);
|
|
|
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
this.MaximizeBox = false;
|
|
|
- this.MaximumSize = new System.Drawing.Size(500, 250);
|
|
|
+ this.MinimizeBox = false;
|
|
|
this.MinimumSize = new System.Drawing.Size(500, 250);
|
|
|
this.Name = "SelectPhysicalDiskForm";
|
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|