public FrmHotkeyHandler(VolumeManager volumeManager, uint upModifier, uint upChar, uint downModifier, uint downChar, uint muteModifier, uint muteChar)
        {
            InitializeComponent();

            this.volumeManager = volumeManager;

            this.upModifier = upModifier;
            this.upChar     = upChar;

            this.downModifier = downModifier;
            this.downChar     = downChar;

            this.muteModifier = muteModifier;
            this.muteChar     = muteChar;

            SetHotkeys();
        }
        public VolumeControlContext()
        {
            components = new System.ComponentModel.Container();
            Icon volumeControlIcon = new Icon(Properties.Resources.VolumeControl, SystemInformation.SmallIconSize);

            notifyIcon = new NotifyIcon(components)
            {
                ContextMenuStrip = new ContextMenuStrip(),
                Icon             = volumeControlIcon,
                Text             = DefaultToolTip,
                Visible          = true
            };

            notifyIcon.ContextMenuStrip.Items.Add(ToolStripMenuItemWithHandler("Settings", notifyIcon_SettingsClick));
            notifyIcon.ContextMenuStrip.Items.Add(new ToolStripSeparator());
            notifyIcon.ContextMenuStrip.Items.Add(ToolStripMenuItemWithHandler("Exit", notifyIcon_ExitClick));

            volumeManager = new VolumeManager();
            RefreshHotkeys();
        }