private void TreeItem_CustomerOrderList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { CustomerOrderList x = new CustomerOrderList(); UserPages.Children.Clear(); UserPages.Children.Add(x); }
private void ButtonAllCOList_Click(object sender, RoutedEventArgs e) { this.topgrid.Visibility = Visibility.Collapsed; this.mainscrollviewer.Visibility = Visibility.Collapsed; CustomerOrderList x = new CustomerOrderList(); UserPages.Children.Clear(); UserPages.Children.Add(x); }