Example #1
0
        private void TreeItem_ProjectAdd_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            ProjectAddNew x = new ProjectAddNew();

            UserPages.Children.Clear();
            UserPages.Children.Add(x);
        }
Example #2
0
        private void ButtonAddNewProject_Click(object sender, RoutedEventArgs e)
        {
            this.topgrid.Visibility          = Visibility.Collapsed;
            this.mainscrollviewer.Visibility = Visibility.Collapsed;

            ProjectAddNew x = new ProjectAddNew();

            UserPages.Children.Clear();
            UserPages.Children.Add(x);
        }