コード例 #1
0
        private void TreeItem_EmployeeEdit_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            EmployeeEdit x = new EmployeeEdit();

            UserPages.Children.Clear();
            UserPages.Children.Add(x);
        }
コード例 #2
0
        private void ButtonUpdateEmployees_Click(object sender, RoutedEventArgs e)
        {
            this.topgrid.Visibility          = Visibility.Collapsed;
            this.mainscrollviewer.Visibility = Visibility.Collapsed;

            EmployeeEdit x = new EmployeeEdit();

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

            EmployeeEdit x = new EmployeeEdit();

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