2015-02-17 02:31:19 +13:00
|
|
|
|
namespace ShareX.HelpersLib
|
|
|
|
|
{
|
|
|
|
|
partial class AutomateForm
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.btnRun = new System.Windows.Forms.Button();
|
|
|
|
|
this.rtbInput = new System.Windows.Forms.RichTextBox();
|
|
|
|
|
this.pInput = new System.Windows.Forms.Panel();
|
|
|
|
|
this.cbFunctions = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.lblFunctions = new System.Windows.Forms.Label();
|
2015-02-17 04:08:38 +13:00
|
|
|
|
this.btnLoadExample = new System.Windows.Forms.Button();
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.txtScriptName = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.btnSaveScript = new System.Windows.Forms.Button();
|
|
|
|
|
this.lblScriptName = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnRemoveScript = new System.Windows.Forms.Button();
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.btnAddMouseMove = new System.Windows.Forms.Button();
|
|
|
|
|
this.lblLineDelay = new System.Windows.Forms.Label();
|
|
|
|
|
this.nudLineDelay = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.lblLineDelayMiliseconds = new System.Windows.Forms.Label();
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.lvScripts = new ShareX.HelpersLib.MyListView();
|
|
|
|
|
this.chScriptName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.pInput.SuspendLayout();
|
2015-02-17 23:46:00 +13:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudLineDelay)).BeginInit();
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// btnRun
|
|
|
|
|
//
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.btnRun.Location = new System.Drawing.Point(9, 9);
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.btnRun.Name = "btnRun";
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.btnRun.Size = new System.Drawing.Size(120, 63);
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.btnRun.TabIndex = 1;
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.btnRun.Text = "Start";
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.btnRun.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnRun.Click += new System.EventHandler(this.btnRun_Click);
|
|
|
|
|
//
|
|
|
|
|
// rtbInput
|
|
|
|
|
//
|
|
|
|
|
this.rtbInput.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
|
|
this.rtbInput.Dock = System.Windows.Forms.DockStyle.Fill;
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.rtbInput.Font = new System.Drawing.Font("Verdana", 12F);
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.rtbInput.Location = new System.Drawing.Point(3, 3);
|
|
|
|
|
this.rtbInput.Name = "rtbInput";
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.rtbInput.Size = new System.Drawing.Size(496, 392);
|
2015-02-17 04:08:38 +13:00
|
|
|
|
this.rtbInput.TabIndex = 0;
|
|
|
|
|
this.rtbInput.Text = "";
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.rtbInput.TextChanged += new System.EventHandler(this.rtbInput_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// pInput
|
|
|
|
|
//
|
|
|
|
|
this.pInput.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.pInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.pInput.Controls.Add(this.rtbInput);
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.pInput.Location = new System.Drawing.Point(8, 80);
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.pInput.Name = "pInput";
|
|
|
|
|
this.pInput.Padding = new System.Windows.Forms.Padding(3);
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.pInput.Size = new System.Drawing.Size(504, 400);
|
2015-02-17 04:08:38 +13:00
|
|
|
|
this.pInput.TabIndex = 0;
|
2015-02-17 02:31:19 +13:00
|
|
|
|
//
|
|
|
|
|
// cbFunctions
|
|
|
|
|
//
|
|
|
|
|
this.cbFunctions.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
|
this.cbFunctions.FormattingEnabled = true;
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.cbFunctions.Location = new System.Drawing.Point(344, 24);
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.cbFunctions.Name = "cbFunctions";
|
|
|
|
|
this.cbFunctions.Size = new System.Drawing.Size(168, 21);
|
|
|
|
|
this.cbFunctions.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// lblFunctions
|
|
|
|
|
//
|
|
|
|
|
this.lblFunctions.AutoSize = true;
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.lblFunctions.Location = new System.Drawing.Point(341, 8);
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.lblFunctions.Name = "lblFunctions";
|
|
|
|
|
this.lblFunctions.Size = new System.Drawing.Size(56, 13);
|
2015-02-17 04:08:38 +13:00
|
|
|
|
this.lblFunctions.TabIndex = 3;
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.lblFunctions.Text = "Functions:";
|
|
|
|
|
//
|
2015-02-17 04:08:38 +13:00
|
|
|
|
// btnLoadExample
|
|
|
|
|
//
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.btnLoadExample.Location = new System.Drawing.Point(520, 96);
|
2015-02-17 04:08:38 +13:00
|
|
|
|
this.btnLoadExample.Name = "btnLoadExample";
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.btnLoadExample.Size = new System.Drawing.Size(152, 24);
|
2015-02-17 04:08:38 +13:00
|
|
|
|
this.btnLoadExample.TabIndex = 2;
|
|
|
|
|
this.btnLoadExample.Text = "Load example";
|
|
|
|
|
this.btnLoadExample.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnLoadExample.Click += new System.EventHandler(this.btnLoadExample_Click);
|
|
|
|
|
//
|
2015-02-17 22:17:11 +13:00
|
|
|
|
// txtScriptName
|
|
|
|
|
//
|
|
|
|
|
this.txtScriptName.Location = new System.Drawing.Point(520, 24);
|
|
|
|
|
this.txtScriptName.Name = "txtScriptName";
|
|
|
|
|
this.txtScriptName.Size = new System.Drawing.Size(152, 20);
|
|
|
|
|
this.txtScriptName.TabIndex = 6;
|
|
|
|
|
//
|
|
|
|
|
// btnSaveScript
|
|
|
|
|
//
|
|
|
|
|
this.btnSaveScript.Location = new System.Drawing.Point(520, 48);
|
|
|
|
|
this.btnSaveScript.Name = "btnSaveScript";
|
|
|
|
|
this.btnSaveScript.Size = new System.Drawing.Size(152, 24);
|
|
|
|
|
this.btnSaveScript.TabIndex = 7;
|
|
|
|
|
this.btnSaveScript.Text = "Save";
|
|
|
|
|
this.btnSaveScript.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnSaveScript.Click += new System.EventHandler(this.btnSaveScript_Click);
|
|
|
|
|
//
|
|
|
|
|
// lblScriptName
|
|
|
|
|
//
|
|
|
|
|
this.lblScriptName.AutoSize = true;
|
|
|
|
|
this.lblScriptName.Location = new System.Drawing.Point(517, 8);
|
|
|
|
|
this.lblScriptName.Name = "lblScriptName";
|
|
|
|
|
this.lblScriptName.Size = new System.Drawing.Size(66, 13);
|
|
|
|
|
this.lblScriptName.TabIndex = 8;
|
|
|
|
|
this.lblScriptName.Text = "Script name:";
|
|
|
|
|
//
|
|
|
|
|
// btnRemoveScript
|
|
|
|
|
//
|
|
|
|
|
this.btnRemoveScript.Location = new System.Drawing.Point(520, 72);
|
|
|
|
|
this.btnRemoveScript.Name = "btnRemoveScript";
|
|
|
|
|
this.btnRemoveScript.Size = new System.Drawing.Size(152, 24);
|
|
|
|
|
this.btnRemoveScript.TabIndex = 9;
|
|
|
|
|
this.btnRemoveScript.Text = "Remove";
|
|
|
|
|
this.btnRemoveScript.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnRemoveScript.Click += new System.EventHandler(this.btnRemoveScript_Click);
|
|
|
|
|
//
|
2015-02-17 23:46:00 +13:00
|
|
|
|
// btnAddMouseMove
|
|
|
|
|
//
|
|
|
|
|
this.btnAddMouseMove.Location = new System.Drawing.Point(344, 48);
|
|
|
|
|
this.btnAddMouseMove.Name = "btnAddMouseMove";
|
|
|
|
|
this.btnAddMouseMove.Size = new System.Drawing.Size(168, 23);
|
|
|
|
|
this.btnAddMouseMove.TabIndex = 10;
|
|
|
|
|
this.btnAddMouseMove.Text = "Add mouse move";
|
|
|
|
|
this.btnAddMouseMove.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnAddMouseMove.Click += new System.EventHandler(this.btnAddMouseMove_Click);
|
|
|
|
|
//
|
|
|
|
|
// lblLineDelay
|
|
|
|
|
//
|
|
|
|
|
this.lblLineDelay.AutoSize = true;
|
|
|
|
|
this.lblLineDelay.Location = new System.Drawing.Point(136, 8);
|
|
|
|
|
this.lblLineDelay.Name = "lblLineDelay";
|
|
|
|
|
this.lblLineDelay.Size = new System.Drawing.Size(58, 13);
|
|
|
|
|
this.lblLineDelay.TabIndex = 11;
|
|
|
|
|
this.lblLineDelay.Text = "Line delay:";
|
|
|
|
|
//
|
|
|
|
|
// nudLineDelay
|
|
|
|
|
//
|
|
|
|
|
this.nudLineDelay.Increment = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudLineDelay.Location = new System.Drawing.Point(137, 25);
|
|
|
|
|
this.nudLineDelay.Maximum = new decimal(new int[] {
|
|
|
|
|
10000,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudLineDelay.Name = "nudLineDelay";
|
|
|
|
|
this.nudLineDelay.Size = new System.Drawing.Size(87, 20);
|
|
|
|
|
this.nudLineDelay.TabIndex = 12;
|
|
|
|
|
this.nudLineDelay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
|
|
//
|
|
|
|
|
// lblLineDelayMiliseconds
|
|
|
|
|
//
|
|
|
|
|
this.lblLineDelayMiliseconds.AutoSize = true;
|
|
|
|
|
this.lblLineDelayMiliseconds.Location = new System.Drawing.Point(230, 29);
|
|
|
|
|
this.lblLineDelayMiliseconds.Name = "lblLineDelayMiliseconds";
|
|
|
|
|
this.lblLineDelayMiliseconds.Size = new System.Drawing.Size(20, 13);
|
|
|
|
|
this.lblLineDelayMiliseconds.TabIndex = 13;
|
|
|
|
|
this.lblLineDelayMiliseconds.Text = "ms";
|
|
|
|
|
//
|
2015-02-17 22:17:11 +13:00
|
|
|
|
// lvScripts
|
|
|
|
|
//
|
|
|
|
|
this.lvScripts.AutoFillColumn = true;
|
|
|
|
|
this.lvScripts.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
|
|
|
this.chScriptName});
|
|
|
|
|
this.lvScripts.FullRowSelect = true;
|
|
|
|
|
this.lvScripts.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
|
|
|
|
this.lvScripts.HideSelection = false;
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.lvScripts.Location = new System.Drawing.Point(520, 128);
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.lvScripts.MultiSelect = false;
|
|
|
|
|
this.lvScripts.Name = "lvScripts";
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.lvScripts.Size = new System.Drawing.Size(152, 352);
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.lvScripts.TabIndex = 5;
|
|
|
|
|
this.lvScripts.UseCompatibleStateImageBehavior = false;
|
|
|
|
|
this.lvScripts.View = System.Windows.Forms.View.Details;
|
|
|
|
|
this.lvScripts.SelectedIndexChanged += new System.EventHandler(this.lvScripts_SelectedIndexChanged);
|
|
|
|
|
//
|
|
|
|
|
// chScriptName
|
|
|
|
|
//
|
|
|
|
|
this.chScriptName.Text = "Name";
|
|
|
|
|
this.chScriptName.Width = 130;
|
|
|
|
|
//
|
2015-02-17 02:31:19 +13:00
|
|
|
|
// AutomateForm
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(683, 489);
|
2015-02-17 23:46:00 +13:00
|
|
|
|
this.Controls.Add(this.lblLineDelayMiliseconds);
|
|
|
|
|
this.Controls.Add(this.nudLineDelay);
|
|
|
|
|
this.Controls.Add(this.lblLineDelay);
|
|
|
|
|
this.Controls.Add(this.btnAddMouseMove);
|
2015-02-17 22:17:11 +13:00
|
|
|
|
this.Controls.Add(this.btnRemoveScript);
|
|
|
|
|
this.Controls.Add(this.lblScriptName);
|
|
|
|
|
this.Controls.Add(this.btnSaveScript);
|
|
|
|
|
this.Controls.Add(this.txtScriptName);
|
|
|
|
|
this.Controls.Add(this.lvScripts);
|
2015-02-17 04:08:38 +13:00
|
|
|
|
this.Controls.Add(this.btnLoadExample);
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.Controls.Add(this.lblFunctions);
|
|
|
|
|
this.Controls.Add(this.cbFunctions);
|
|
|
|
|
this.Controls.Add(this.pInput);
|
|
|
|
|
this.Controls.Add(this.btnRun);
|
|
|
|
|
this.Name = "AutomateForm";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "ShareX - Automate";
|
|
|
|
|
this.pInput.ResumeLayout(false);
|
2015-02-17 23:46:00 +13:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudLineDelay)).EndInit();
|
2015-02-17 02:31:19 +13:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Button btnRun;
|
|
|
|
|
private System.Windows.Forms.RichTextBox rtbInput;
|
|
|
|
|
private System.Windows.Forms.Panel pInput;
|
|
|
|
|
private System.Windows.Forms.ComboBox cbFunctions;
|
|
|
|
|
private System.Windows.Forms.Label lblFunctions;
|
2015-02-17 04:08:38 +13:00
|
|
|
|
private System.Windows.Forms.Button btnLoadExample;
|
2015-02-17 22:17:11 +13:00
|
|
|
|
private ShareX.HelpersLib.MyListView lvScripts;
|
|
|
|
|
private System.Windows.Forms.TextBox txtScriptName;
|
|
|
|
|
private System.Windows.Forms.Button btnSaveScript;
|
|
|
|
|
private System.Windows.Forms.Label lblScriptName;
|
|
|
|
|
private System.Windows.Forms.Button btnRemoveScript;
|
|
|
|
|
private System.Windows.Forms.ColumnHeader chScriptName;
|
2015-02-17 23:46:00 +13:00
|
|
|
|
private System.Windows.Forms.Button btnAddMouseMove;
|
|
|
|
|
private System.Windows.Forms.Label lblLineDelay;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudLineDelay;
|
|
|
|
|
private System.Windows.Forms.Label lblLineDelayMiliseconds;
|
2015-02-17 02:31:19 +13:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|