diff --git a/XenAdmin/Dialogs/LicenseManager/LicenseCheckableDataGridView/LicenseCheckableDataGridView.cs b/XenAdmin/Dialogs/LicenseManager/LicenseCheckableDataGridView/LicenseCheckableDataGridView.cs
index 52bd3d352..58e7b6dcf 100644
--- a/XenAdmin/Dialogs/LicenseManager/LicenseCheckableDataGridView/LicenseCheckableDataGridView.cs
+++ b/XenAdmin/Dialogs/LicenseManager/LicenseCheckableDataGridView/LicenseCheckableDataGridView.cs
@@ -29,7 +29,6 @@
*/
using System.ComponentModel;
-using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using XenAdmin.Dialogs;
@@ -40,22 +39,9 @@ namespace XenAdmin.Controls
public class LicenseCheckableDataGridView : CheckableDataGridView.CheckableDataGridView, ILicenseCheckableDataGridViewView
{
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public DataGridViewImageColumn StatusImageColumn
- {
- get
- {
- Debug.Assert(_statusImageColumn != null);
- return _statusImageColumn;
- }
- set { _statusImageColumn = value; }
- }
+ public DataGridViewImageColumn StatusImageColumn { get; set; }
- private DataGridViewImageColumn _statusImageColumn;
-
- private LicenseCheckableDataGridViewController LicenseController
- {
- get { return Controller as LicenseCheckableDataGridViewController; }
- }
+ private LicenseCheckableDataGridViewController LicenseController => Controller as LicenseCheckableDataGridViewController;
public LicenseCheckableDataGridView()
{
diff --git a/XenAdmin/Dialogs/LicenseManager/LicenseManager.Designer.cs b/XenAdmin/Dialogs/LicenseManager/LicenseManager.Designer.cs
index 4f5051448..1a5f2fe00 100644
--- a/XenAdmin/Dialogs/LicenseManager/LicenseManager.Designer.cs
+++ b/XenAdmin/Dialogs/LicenseManager/LicenseManager.Designer.cs
@@ -70,14 +70,12 @@
//
// poolColumn
//
- this.poolColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
resources.ApplyResources(this.poolColumn, "poolColumn");
this.poolColumn.Name = "poolColumn";
this.poolColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
//
// productVersionColumn
//
- this.productVersionColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
resources.ApplyResources(this.productVersionColumn, "productVersionColumn");
this.productVersionColumn.Name = "productVersionColumn";
this.productVersionColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
@@ -90,7 +88,7 @@
//
// statusColumn
//
- this.statusColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.statusColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
resources.ApplyResources(this.statusColumn, "statusColumn");
this.statusColumn.Name = "statusColumn";
this.statusColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
diff --git a/XenAdmin/Dialogs/LicenseManager/LicenseManager.resx b/XenAdmin/Dialogs/LicenseManager/LicenseManager.resx
index 82204d381..3dda80dfc 100644
--- a/XenAdmin/Dialogs/LicenseManager/LicenseManager.resx
+++ b/XenAdmin/Dialogs/LicenseManager/LicenseManager.resx
@@ -139,9 +139,6 @@
30
-
- 250
-
True
@@ -151,9 +148,6 @@
30
-
- 250
-
True
@@ -175,6 +169,9 @@
30
+
+ 64
+
Fill
@@ -187,7 +184,7 @@
3, 3
- 670, 394
+ 631, 399
0
@@ -220,7 +217,7 @@
NoControl
- 3, 445
+ 3, 444
3, 3, 3, 3
@@ -268,7 +265,7 @@
3, 3
- 162, 25
+ 150, 25
0
@@ -295,10 +292,10 @@
Segoe UI, 9pt
- 171, 3
+ 159, 3
- 162, 25
+ 150, 25
1
@@ -325,13 +322,16 @@
Segoe UI, 9pt
- 3, 403
+ 0, 405
+
+
+ 0, 0, 0, 0
1
- 670, 31
+ 637, 31
1
@@ -358,10 +358,10 @@
Segoe UI, 9pt
- 679, 3
+ 640, 3
- 234, 394
+ 267, 399
2
@@ -385,10 +385,10 @@
Segoe UI, 9pt
- 822, 440
+ 832, 439
- 91, 25
+ 75, 25
4
@@ -421,7 +421,7 @@
3
- 916, 468
+ 910, 467
0
@@ -439,7 +439,7 @@
0
- <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="downloadLicenseServerLink" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="checkableDataGridView" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="tableLayoutPanel2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="summaryPanel" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="cancelButton" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="Percent,73.85621,Percent,26.14379" /><Rows Styles="Percent,100,AutoSize,0,AutoSize,0" /></TableLayoutSettings>
+ <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="downloadLicenseServerLink" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="checkableDataGridView" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="tableLayoutPanel2" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="summaryPanel" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="cancelButton" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /></Controls><Columns Styles="Percent,70,Percent,30" /><Rows Styles="Percent,100,AutoSize,0,AutoSize,0" /></TableLayoutSettings>
True
@@ -448,7 +448,7 @@
96, 96
- 940, 492
+ 934, 491
Segoe UI, 9pt