예제 #1
0
        protected void modositasClick(object sender, RoutedEventArgs e)
        {
            pControl.Change = true;
            ProjectListItems itemSource = (sender as MenuItem).DataContext as ProjectListItems;

            pControl.ProjektID = itemSource.id;
            grid.Children.Clear();
            grid.Children.Add(newProjectPanel = new NewProjectPanel(grid));
        }
예제 #2
0
 protected void New_projekt_btn_Click(object sender, RoutedEventArgs e)
 {
     grid.Children.Clear();
     grid.Children.Add(newProjectPanel = new NewProjectPanel(grid));
 }