-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainForm.Designer.cs
More file actions
97 lines (93 loc) · 4.21 KB
/
Copy pathMainForm.Designer.cs
File metadata and controls
97 lines (93 loc) · 4.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
using System.Drawing;
using System.Windows.Forms;
namespace KeystrokePaster
{
partial class MainForm
{
private System.ComponentModel.IContainer components = null;
private TextBox txtPasteBox;
private Label lblStatus;
private Button btnSettings;
private NotifyIcon trayIcon;
internal Label lblInstructions;
protected override void Dispose(bool disposing)
{
if (disposing)
{
hotkey?.Dispose();
clipboardHotkey?.Dispose();
trayIcon?.Dispose();
components?.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.txtPasteBox = new System.Windows.Forms.TextBox();
this.lblStatus = new System.Windows.Forms.Label();
this.btnSettings = new System.Windows.Forms.Button();
this.lblInstructions = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// txtPasteBox
//
this.txtPasteBox.Font = new System.Drawing.Font("Consolas", 9F);
this.txtPasteBox.Location = new System.Drawing.Point(-1, -2);
this.txtPasteBox.Multiline = true;
this.txtPasteBox.Name = "txtPasteBox";
this.txtPasteBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtPasteBox.Size = new System.Drawing.Size(435, 180);
this.txtPasteBox.TabIndex = 0;
//
// lblStatus
//
this.lblStatus.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.lblStatus.Location = new System.Drawing.Point(5, 214);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(300, 20);
this.lblStatus.TabIndex = 1;
this.lblStatus.Text = "Status: Waiting";
//
// btnSettings
//
this.btnSettings.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSettings.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSettings.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnSettings.Location = new System.Drawing.Point(388, 198);
this.btnSettings.Name = "btnSettings";
this.btnSettings.Size = new System.Drawing.Size(43, 37);
this.btnSettings.TabIndex = 2;
this.btnSettings.Text = "⚙";
this.btnSettings.UseVisualStyleBackColor = true;
this.btnSettings.Click += new System.EventHandler(this.BtnSettings_Click);
//
// lblInstructions
//
this.lblInstructions.Font = new System.Drawing.Font("Segoe UI", 8F);
this.lblInstructions.ForeColor = System.Drawing.Color.Gray;
this.lblInstructions.Location = new System.Drawing.Point(5, 182);
this.lblInstructions.Name = "lblInstructions";
this.lblInstructions.Size = new System.Drawing.Size(383, 30);
this.lblInstructions.TabIndex = 3;
this.lblInstructions.Text = "Ctrl+F1 in target window types the box above\r\nCtrl+F2 types the clipboard directly";
//
// MainForm
//
this.ClientSize = new System.Drawing.Size(435, 240);
this.Controls.Add(this.lblInstructions);
this.Controls.Add(this.btnSettings);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.txtPasteBox);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Keystroke Paster";
this.TopMost = true;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Resize += new System.EventHandler(this.MainForm_Resize);
this.ResumeLayout(false);
this.PerformLayout();
}
}
}