Exemplo n.º 1
0
        private void DatabaseMenuItemClick()
        {
            DatabaseWindowViewModel databaseWindowViewModel = new DatabaseWindowViewModel(MainModel);
            IWindowContext          databaseWindowContext   = WindowManager.CreateWindow(RegisteredWindows.WindowKey.DATABASE_WINDOW, databaseWindowViewModel,
                                                                                         CurrentWindowContext);

            databaseWindowContext.ShowDialog();
        }
Exemplo n.º 2
0
        private void DatabaseMenuItemClick()
        {
            DatabaseWindowViewModel databaseWindowViewModel = new DatabaseWindowViewModel(MainModel);
            IWindowContext          databaseWindowContext   = WindowManager.CreateWindow(RegisteredWindows.WindowKey.DATABASE_WINDOW, databaseWindowViewModel,
                                                                                         CurrentWindowContext);

            databaseWindowContext.ShowDialog();
            RefreshSearchTabCollectionAvailabilities();
        }