diff --git a/TBF/TBF.csproj b/TBF/TBF.csproj
index 3729549b8..da9be45ed 100644
--- a/TBF/TBF.csproj
+++ b/TBF/TBF.csproj
@@ -1049,7 +1049,9 @@
-
+
+ UserControl
+
@@ -1386,12 +1388,16 @@
-
+
+ UserControl
+
GenesisHeadTestCtrl.cs
-
+
+ UserControl
+
GenesisCfgCtrl.cs
@@ -1410,9 +1416,13 @@
-
+
+ UserControl
+
-
+
+ UserControl
+
@@ -1715,7 +1725,9 @@
-
+
+ UserControl
+
@@ -1771,7 +1783,9 @@
-
+
+ Form
+
diff --git a/TBF/UI/Bench/Components/ComponentParametersDlg.cs b/TBF/UI/Bench/Components/ComponentParametersDlg.cs
index 908697976..1a0261226 100644
--- a/TBF/UI/Bench/Components/ComponentParametersDlg.cs
+++ b/TBF/UI/Bench/Components/ComponentParametersDlg.cs
@@ -189,8 +189,16 @@ namespace TBF.UI.Bench.Components
int extraWidth = splitContainer.Panel2.Width + 40;
int extraHeight = 80;
- this.Width = desired.Width + extraWidth;
- this.Height = desired.Height + extraHeight;
+ if (!desired.IsEmpty)
+ {
+ this.Width = desired.Width + extraWidth;
+ this.Height = desired.Height + extraHeight;
+ }
+ else
+ {
+ //this.Width += extraWidth;
+ //this.Height += extraHeight;
+ }
// Do not exceed screen working area
var screen = Screen.FromControl(this).WorkingArea;