Beispiel #1
0
        private void TreeItem_SupplierEdit_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            SupplierEdit x = new SupplierEdit();

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

            SupplierEdit x = new SupplierEdit();

            UserPages.Children.Clear();
            UserPages.Children.Add(x);
        }
        private void PopUp_EditSupplier(object sender, RoutedEventArgs e)
        {
            TextBlock_TitleName.Visibility = Visibility.Collapsed;
            DataGrid.Visibility            = Visibility.Collapsed;
            PopupBox.Visibility            = Visibility.Collapsed;

            SupplierEdit x = new SupplierEdit();

            UserPages.Children.Clear();
            UserPages.Children.Add(x);
            PopupBoxWithClose.Visibility = Visibility.Visible;
        }