Exemple #1
0
 private void ChooseProject_Click(object sender, RoutedEventArgs e)
 {
     if (ProjectsTable.SelectedItem != null)
     {
         controller.ChooseProject(((Project)ProjectsTable.SelectedItem).Id);
     }
     else
     {
         MessageBox.Show("Выберите проект");
     }
 }