private void 追加_J_Click(object sender, RoutedEventArgs e)
 {
     using (TriggerSettingWindow triggerSettingWindow = new TriggerSettingWindow())
     {
         triggerSettingWindow.ShowDialog();
     }
 }
        private void 編集_E_Click(object sender, RoutedEventArgs e)
        {
            var item = TriggerListView.SelectedItem as Trigger;

            if (item != null)
            {
                using (TriggerSettingWindow triggerSettingWindow = new TriggerSettingWindow())
                {
                    triggerSettingWindow.SetTrigger(item);
                    triggerSettingWindow.ShowDialog();

                    if (triggerSettingWindow.DialogResult == true)
                        Settings.Default._triggerList.Remove(item);
                }
            }
        }