public void ExecuteEvent()
        {
            Activate();

            Visibility = Visibility.Visible;

            Keyword.Focus();
        }
        private void SelectNextCandidate()
        {
            if (CandidateList.Items.Count == 0)
            {
                return;
            }

            var index = CandidateList.SelectedIndex;

            CandidateList.SelectedIndex = CandidateList.Items.Count == index + 1 ? 0 : index + 1;
            Keyword.Focus();
        }
        public MainWindow()
        {
            InitializeComponent();

            SettingWindow = new SettingWindow(this)
            {
                Visibility = Visibility.Hidden
            };

            Hotkey = new LauncherHotkey(this);

            RegisterHotkey();

            Keyword.Focus();

            ReservedKey = new ReservedKey(this);
        }