Example #1
0
        private void preferencesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            hotkeyBinder.Unbind(Settings.Default.CaptureAreaHotkey);
            hotkeyBinder.Unbind(Settings.Default.CaptureFullscreenHotkey);
            hotkeyBinder.Unbind(Settings.Default.CaptureActiveWindowHotkey);

            var preferencesForm = new PreferencesForm();

            preferencesForm.ShowDialog();
            preferencesForm.Dispose();

            InitializeHotkeyBinder();
        }
Example #2
0
        private void preferencesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            hotkeyBinder.Unbind(Settings.Default.CaptureAreaHotkey);
            hotkeyBinder.Unbind(Settings.Default.CaptureFullscreenHotkey);
            hotkeyBinder.Unbind(Settings.Default.CaptureActiveWindowHotkey);

            var preferencesForm = new PreferencesForm();
            preferencesForm.ShowDialog();
            preferencesForm.Dispose();

            InitializeHotkeyBinder();
        }