Example #1
0
        private void AddCusRes_Click(object sender, RoutedEventArgs e)
        {
            ResWindow = new Window1
            {
                Owner       = this,
                DataContext = researcher
            };
            ResWindow.CBox.ItemsSource = TeamOb.Topics;

            if (ResWindow.ShowDialog() == true)
            {
                TeamOb.AddPerson((Researcher)researcher.DeepCopy());
            }
        }
Example #2
0
 private void EditMenu_AddCustomResearcher(object sender, RoutedEventArgs e)
 {
     team.AddPerson(temp_researcher);
 }