/// <summary> /// Method to invoke when the InterestedInExample command is executed. /// </summary> private void OnInterestedInExampleExecute() { var vm = new InterestedInViewModel(); _uiVisualizerService.ShowDialog(vm); }
/// <summary> /// Initializes a new instance of the <see cref="InterestedInWindow"/> class. /// </summary> /// <param name="viewModel"> /// The view model to inject. /// </param> /// <remarks> /// This constructor can be used to use view-model injection. /// </remarks> public InterestedInWindow(InterestedInViewModel viewModel) : base(viewModel, DataWindowMode.Close) { InitializeComponent(); }