private void FileMenuDownButton_Click(object sender, RoutedEventArgs e) { int index = _seclectingListView.SelectedIndex; if (index != -1) { MyAppItem.Move(_fileList, index, index + 1); MyAppItem.ReloadList(_seclectingListView, methodListBox); } }
private void FolderMenuBotButton_Click(object sender, RoutedEventArgs e) { int index = _seclectingListView.SelectedIndex; if (index != -1) { MyAppItem.Move(_folderList, index, _folderList.Count - 1); MyAppItem.ReloadList(_seclectingListView, methodListBox); } }
private void MethodMenuUpButton_Click(object sender, RoutedEventArgs e) { int index = methodListBox.SelectedIndex; if (index != -1) { MyAppItem.Move(_methodList, index, index - 1); MyAppItem.ReloadList(_seclectingListView, methodListBox); } }