Beispiel #1
0
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            var wnd = new CommandSettingWindow(_settings, -1, _context);

            wnd.ShowDialog();
            Refresh();
        }
Beispiel #2
0
        private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            int idx = listMain.SelectedIndex;
            var wnd = new CommandSettingWindow(_settings, idx, _context);

            wnd.ShowDialog();
            Refresh();
        }