public Form1() { InitializeComponent(); _listener = new KeyHook(); _listener.OnKeyPressed += _listener_OnKeyPressed; _listener.HookKeyboard(); MakeTransparent(true); lastKey = String.Empty; LoadLocation(); LoadSettings(); Lines = new List <string>(4); }
public Form1() { InitializeComponent(); _listener = new KeyHook(); _listener.OnKeyPressed += _listener_OnKeyPressed; _listener.HookKeyboard(); MakeTransparent(true); lastKey = String.Empty; LoadLocation(); LoadSettings(); sb = new StringBuilder(); ver = $"{Application.ProductVersion.Split('.')[0]}.{Application.ProductVersion.Split('.')[1]}"; ShowBalloon(); }