Esempio n. 1
0
        private void TreeItem_CompaniesList_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            CompanyList x = new CompanyList();

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

            CompanyList x = new CompanyList();

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