Esempio n. 1
0
        private void notifyIcon_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (this.Visible)
            {
                this.Hide();
            }
            else
            {
                this.Show(); this.Activate();
            }

            dropForm.Opacity       = 0;
            dropForm.targetOpacity = 0;
            dropForm.Hide();
        }
Esempio n. 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;
        }
Esempio n. 3
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;
        }