Beispiel #1
0
        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();
        }
Beispiel #2
0
        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();
        }