コード例 #1
0
 public ImportWindow(ImportWorkflowViewModel viewModel, Window owner)
 {
     _vm                   = viewModel;
     DataContext           = viewModel;
     SizeToContent         = SizeToContent.WidthAndHeight;
     Title                 = $"Import Workflow";
     Owner                 = owner;
     WindowStartupLocation = WindowStartupLocation.CenterOwner;
     InitializeComponent();
     ShowDialog();
 }
コード例 #2
0
 public void ShowImportWorkflow()
 {
     ImportWorkflowViewModel importVM     = new ImportWorkflowViewModel(_context);
     ImportWindow            importWindow = new ImportWindow(importVM, _window);
 }