コード例 #1
0
        /// <summary>
        /// Method to invoke when the InterestedInExample command is executed.
        /// </summary>
        private void OnInterestedInExampleExecute()
        {
            var vm = new InterestedInViewModel();

            _uiVisualizerService.ShowDialog(vm);
        }
コード例 #2
0
 /// <summary>
 /// Method to invoke when the InterestedInExample command is executed.
 /// </summary>
 private void OnInterestedInExampleExecute()
 {
     var vm = new InterestedInViewModel();
     _uiVisualizerService.ShowDialog(vm);
 }
コード例 #3
0
 /// <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();
 }