Exemplo n.º 1
0
 public StructureWindow(StructureDeletionViewModel viewModel, Window owner)
 {
     _vm                   = viewModel;
     DataContext           = viewModel;
     SizeToContent         = SizeToContent.WidthAndHeight;
     Title                 = $"Structure Deletion";
     Owner                 = owner;
     WindowStartupLocation = WindowStartupLocation.CenterOwner;
     InitializeComponent();
     ShowDialog();
 }
Exemplo n.º 2
0
 public void ShowStructureDeletion()
 {
     StructureDeletionViewModel structDelVM     = new StructureDeletionViewModel(_context);
     StructureWindow            structDelWindow = new StructureWindow(structDelVM, _window);
 }