Пример #1
0
        private void SettingsClicked(object sender, MouseEventArgs e)
        {
            RootUnHookKeyboard();
            Form_Settings settings = new Form_Settings(this);

            settings.Show();
        }
Пример #2
0
        // Events
        #region Events

        private void NotifyIconClicked(object sender, EventArgs e)
        {
            ToolStripMenuItem item        = sender as ToolStripMenuItem;
            string            whatClicked = item.Name;

            switch (whatClicked)
            {
            case "settings":
                RootUnHookKeyboard();
                Form_Settings settings = new Form_Settings(this);
                settings.Show();
                break;

            case "exit":
                this.Close();
                break;

            case "openClose":
                OpenOrCloseOverlay();
                break;
            }
        }