protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); var model = new AttachToWacProcessDialogModel(new TestMenuCommands()); var window = new AttachToWacProcessDialog(model); window.ShowDialog(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); var model = new AttachToWacProcessDialogModel(new TestMenuCommands(), new string[] { "Default", "Remote Computer" }); var window = new AttachToWacProcessDialog(model); window.ShowDialog(); }