diff --git a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmAutomationBotParams.cs b/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmAutomationBotParams.cs
index 5f9fcf0..e641da2 100644
--- a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmAutomationBotParams.cs
+++ b/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmAutomationBotParams.cs
@@ -4,10 +4,11 @@ using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
using VAR.Toolbox.Code.Configuration;
+using VAR.Toolbox.Controls;
namespace VAR.ScreenAutomation
{
- public partial class FrmAutomationBotParams : Form
+ public partial class FrmAutomationBotParams : Frame
{
private readonly FileBackedConfiguration _config;
diff --git a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmAutomationBotParams.resx b/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmAutomationBotParams.resx
deleted file mode 100644
index d5a483d..0000000
--- a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmAutomationBotParams.resx
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089
-
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089
-
-
-
\ No newline at end of file
diff --git a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.Designer.cs b/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.Designer.cs
index c92efe8..8071cef 100644
--- a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.Designer.cs
+++ b/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.Designer.cs
@@ -29,12 +29,12 @@
private void InitializeComponent()
{
this.picCapturer = new System.Windows.Forms.PictureBox();
- this.splitMain = new System.Windows.Forms.SplitContainer();
- this.splitOutput = new System.Windows.Forms.SplitContainer();
- this.btnAutomationBotConfig = new System.Windows.Forms.Button();
+ this.splitMain = new VAR.Toolbox.Controls.CSplitContainer();
+ this.splitOutput = new VAR.Toolbox.Controls.CSplitContainer();
+ this.btnAutomationBotConfig = new VAR.Toolbox.Controls.CButton();
this.numFPS = new System.Windows.Forms.NumericUpDown();
- this.ddlAutomationBot = new System.Windows.Forms.ComboBox();
- this.btnStartEnd = new System.Windows.Forms.Button();
+ this.ddlAutomationBot = new VAR.Toolbox.Controls.CComboBox();
+ this.btnStartEnd = new VAR.Toolbox.Controls.CButton();
this.chkKeepToplevel = new System.Windows.Forms.CheckBox();
this.picPreview = new VAR.Toolbox.Controls.CtrImageViewer();
this.ctrOutput = new VAR.Toolbox.Controls.CtrOutput();
@@ -253,12 +253,12 @@
private System.Windows.Forms.PictureBox picCapturer;
private VAR.Toolbox.Controls.CtrImageViewer picPreview;
private VAR.Toolbox.Controls.CtrOutput ctrOutput;
- private System.Windows.Forms.SplitContainer splitMain;
- private System.Windows.Forms.SplitContainer splitOutput;
- private System.Windows.Forms.Button btnStartEnd;
- private System.Windows.Forms.ComboBox ddlAutomationBot;
+ private VAR.Toolbox.Controls.CSplitContainer splitMain;
+ private VAR.Toolbox.Controls.CSplitContainer splitOutput;
+ private VAR.Toolbox.Controls.CButton btnStartEnd;
+ private VAR.Toolbox.Controls.CComboBox ddlAutomationBot;
private System.Windows.Forms.NumericUpDown numFPS;
- private System.Windows.Forms.Button btnAutomationBotConfig;
+ private VAR.Toolbox.Controls.CButton btnAutomationBotConfig;
private System.Windows.Forms.CheckBox chkKeepToplevel;
private System.Windows.Forms.CheckBox chkClick;
}
diff --git a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.cs b/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.cs
index 824f26d..865cb8d 100644
--- a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.cs
+++ b/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.cs
@@ -7,6 +7,7 @@ using VAR.ScreenAutomation.Code;
using VAR.Toolbox.Code;
using VAR.Toolbox.Code.Bots;
using VAR.Toolbox.Code.Configuration;
+using VAR.Toolbox.Controls;
using Mouse = VAR.ScreenAutomation.Code.Mouse;
using Screenshoter = VAR.ScreenAutomation.Code.Screenshoter;
@@ -14,7 +15,7 @@ using Screenshoter = VAR.ScreenAutomation.Code.Screenshoter;
namespace VAR.ScreenAutomation
{
- public partial class FrmScreenAutomation : Form, Toolbox.UI.IToolForm
+ public partial class FrmScreenAutomation : Frame, Toolbox.UI.IToolForm
{
public string ToolName => "ScreenAutomation";
diff --git a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.resx b/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.resx
deleted file mode 100644
index d5a483d..0000000
--- a/VAR.Toolbox/UI/Tools/ScreenAutomation/FrmScreenAutomation.resx
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089
-
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
- PublicKeyToken=b77a5c561934e089
-
-
-
\ No newline at end of file
diff --git a/VAR.Toolbox/VAR.Toolbox.csproj b/VAR.Toolbox/VAR.Toolbox.csproj
index 007da64..e8c1f53 100644
--- a/VAR.Toolbox/VAR.Toolbox.csproj
+++ b/VAR.Toolbox/VAR.Toolbox.csproj
@@ -315,14 +315,6 @@
-
-
- FrmAutomationBotParams.cs
-
-
- FrmScreenAutomation.cs
-
-