Beispiel #1
0
 private void Button_AddProject(object sender, RoutedEventArgs e)
 {
     obj.AddDefaultProject();
 }
Beispiel #2
0
        /*private void Projects_SelectionChanged(object sender, SelectionChangedEventArgs e)
         * {
         *  Projects.ItemsSource = RS.Projects;
         *  //Projects.ItemsSource = RS;
         *  AllCollection.ItemsSource = RS;
         * }
         *
         * private void AllCollection_SelectionChanged(object sender, SelectionChangedEventArgs e)
         * {
         *  Projects.ItemsSource = RS.Projects;
         *  AllCollection.ItemsSource = RS;
         *  //Projects.ItemsSource = RS;
         * }*/

        private void AddDefProj(object sender, RoutedEventArgs e)
        {
            RS.AddDefaultProject();
        }