Example #1
0
        public frmMain()
        {
            InitializeComponent();

            kbHook.KeyPressed += new EventHandler <KeyPressedEventArgs>(hook_KeyPressed);
            kbHook.RegisterHotKey(0, Keys.PrintScreen);
            kbHook.RegisterHotKey(ModifierKeysH.Alt, Keys.PrintScreen);
            kbHook.RegisterHotKey(ModifierKeysH.Control, Keys.PrintScreen);

            dropForm = new frmDropArea(Main.uploadOrganizer);
            dropForm.Show();
            dropForm.Hide();

            Main.LoadCredentials();
            tbUser.Text  = Main.username;
            tbPword.Text = Main.password;
        }
Example #2
0
        public frmMain()
        {
            InitializeComponent();

            kbHook.KeyPressed += new EventHandler<KeyPressedEventArgs>(hook_KeyPressed);
            kbHook.RegisterHotKey(0, Keys.PrintScreen);
            kbHook.RegisterHotKey(ModifierKeysH.Alt, Keys.PrintScreen);
            kbHook.RegisterHotKey(ModifierKeysH.Control, Keys.PrintScreen);

            dropForm = new frmDropArea(Main.uploadOrganizer);
            dropForm.Show();
            dropForm.Hide();

            Main.LoadCredentials();
            tbUser.Text = Main.username;
            tbPword.Text = Main.password;
        }