public CurrentCatalogSchemeWindow(CurrentCatalogSchemeViewModel vm)
        {
            InitializeComponent();

            _vm         = vm;
            DataContext = _vm;
        }
Esempio n. 2
0
        private void CurrentCatalogSchemeCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            var currentCatalogSchemesVM = new CurrentCatalogSchemeViewModel(_vm.DarwinDatabase);

            var currentCatalogSchemeWindow = new CurrentCatalogSchemeWindow(currentCatalogSchemesVM);

            currentCatalogSchemeWindow.Owner = this;
            currentCatalogSchemeWindow.ShowDialog();
        }