Exemplo n.º 1
0
        private void OnStorageClick(object sender, RoutedEventArgs e)
        {
            StorageWindow sw = new StorageWindow();

            sw.Owner = this;
            sw.Show();
        }
Exemplo n.º 2
0
        public void ShowStorageWindow(AppViewModel appViewModel, List <WorkspaceViewModel> workspaces)
        {
            var dataContext = containerExtension.Resolve <StorageViewModel>();

            dataContext.PrepareAndSetWorkspaces(appViewModel, workspaces);
            var window = new StorageWindow(dataContext);

            window.Show();
        }