Exemple #1
0
 private void ShowAccessories()
 {
     TabControlViewModel.OpenTab(
         new AccessoriesView(AccessoriesViewViewModel),
         "Accessory Types",
         AccessoriesViewViewModel,
         AccessoriesViewViewModel);
 }
Exemple #2
0
 private void ShowSashesView()
 {
     TabControlViewModel.OpenTab(
         new SashesView(SashesViewViewModel),
         "Sash Types",
         SashesViewViewModel,
         SashesViewViewModel);
 }
Exemple #3
0
 private void ShowFillingsView()
 {
     TabControlViewModel.OpenTab(
         new FillingsView(FillingsViewViewModel),
         "Filling Types",
         FillingsViewViewModel,
         FillingsViewViewModel);
 }
Exemple #4
0
 private void ShowMullionsView()
 {
     TabControlViewModel.OpenTab(
         new MullionsView(MullionsViewViewModel),
         "Mullion Types",
         MullionsViewViewModel,
         MullionsViewViewModel);
 }
Exemple #5
0
 private void ShowProfilesView()
 {
     TabControlViewModel.OpenTab(
         new ProfilesView(ProfilesViewViewModel),
         "Profile Types",
         ProfilesViewViewModel,
         ProfilesViewViewModel);
 }
Exemple #6
0
        private void EditUnit()
        {
            if (SelectedProject == null)
            {
                return;
            }

            if (TabControlViewModel.IsOpen(SelectedUnit))
            {
                TabControlViewModel.SelectTab(SelectedUnit);
            }
            else
            {
                TabControlViewModel.OpenTab(new UnitView(SelectedUnit, Storage), SelectedUnit.Code, SelectedUnit, SelectedUnit);
            }
        }