예제 #1
0
        public Screenie(Settings settings)
        {
            _settings = settings;
            InitWindowsHookLib();

            printAreaKeys.AddKey(Keys.A);
        }
예제 #2
0
 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));
     }
 }