public Screenie(Settings settings) { _settings = settings; InitWindowsHookLib(); printAreaKeys.AddKey(Keys.A); }
private void printAreaButtonTextBox_TextChanged(object sender, EventArgs e) { if (printScreenTextBox.Text.Length == 1) { string key = printScreenTextBox.Text.ToUpper(); Console.WriteLine(key); KeysConverter keysConverter = new KeysConverter(); _printAreaKeyGroup.AddKey((Keys)keysConverter.ConvertFromString(key)); } }