Пример #1
0
        private void DatabaseMenuItemClick()
        {
            DatabaseWindowViewModel databaseWindowViewModel = new DatabaseWindowViewModel(MainModel);
            IWindowContext          databaseWindowContext   = WindowManager.CreateWindow(RegisteredWindows.WindowKey.DATABASE_WINDOW, databaseWindowViewModel,
                                                                                         CurrentWindowContext);

            databaseWindowContext.ShowDialog();
        }
Пример #2
0
        private void DatabaseMenuItemClick()
        {
            DatabaseWindowViewModel databaseWindowViewModel = new DatabaseWindowViewModel(MainModel);
            IWindowContext          databaseWindowContext   = WindowManager.CreateWindow(RegisteredWindows.WindowKey.DATABASE_WINDOW, databaseWindowViewModel,
                                                                                         CurrentWindowContext);

            databaseWindowContext.ShowDialog();
            RefreshSearchTabCollectionAvailabilities();
        }