コード例 #1
0
        private void EditRelationship(object obj)
        {
            RelationshipEditorViewModel viewModel = new RelationshipEditorViewModel(this, true);
            EditorWindow editorWindow             = new EditorWindow {
                DataContext = viewModel
            };

            editorWindow.ShowDialog();

            // Update the name property.. do we want to update anything else?
        }
コード例 #2
0
 protected RelationshipEditorPageViewModelBase(RelationshipEditorViewModel viewModel)
     : base(viewModel)
 {
 }