예제 #1
0
        private void OnStorageClick(object sender, RoutedEventArgs e)
        {
            StorageWindow sw = new StorageWindow();

            sw.Owner = this;
            sw.Show();
        }
예제 #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();
        }