public frmMain() { InitializeComponent(); hook = new XKeyboardHook(); hook.KeyPressed += new EventHandler<KeyPressedEventArgs>(hook_KeyPressed); tmpName = Environment.GetEnvironmentVariable("TEMP") + @"\upscreen.png"; apiKey = Upscreen.Properties.Settings.Default.AnonAPI; success = false; registerHotkey(); }
public frmMain() { InitializeComponent(); hook = new XKeyboardHook(); hook.KeyPressed += new EventHandler <KeyPressedEventArgs>(hook_KeyPressed); tmpName = Environment.GetEnvironmentVariable("TEMP") + @"\upscreen.png"; apiKey = Upscreen.Properties.Settings.Default.AnonAPI; success = false; registerHotkey(); }