コード例 #1
0
        private void DeleteProcess(object sender, RoutedEventArgs e)
        {
            var idel = (Process)ProcessesDataGrid.SelectedItem;

            TaskProcessManager.DeleteProcess(idel.Id);
            ProcessesDataGrid.ItemsSource = TaskProcessManager.GetListProcesses();
        }
コード例 #2
0
 private void RefreshProcessesList(object sender, RoutedEventArgs e)
 {
     ProcessesDataGrid.ItemsSource = TaskProcessManager.GetListProcesses();
 }
コード例 #3
0
 public MainWindow()
 {
     InitializeComponent();
     ProcessesDataGrid.ItemsSource = TaskProcessManager.GetListProcesses();
 }