Example #1
0
        private void OnRelationCreateStarted(object sender, RelationCreateViewModel viewModel)
        {
            RelationCreateDialog view = new RelationCreateDialog {
                DataContext = viewModel
            };

            view.ShowDialog();
        }
Example #2
0
        private void CreateRelationExecute(object parameter)
        {
            RelationCreateViewModel relationCreateViewModel = new RelationCreateViewModel(_application, SelectedConsumer, SelectedProvider);

            RelationCreateStarted?.Invoke(this, relationCreateViewModel);
        }