public bool OpenEditEntityDialog(EditWellViewModel viewModel) { var diag = new EditWellView(viewModel) { Owner = this }; return((bool)diag.ShowDialog()); }
public EditWellView(EditWellViewModel vm) { InitializeComponent(); viewModel = vm; viewModel.SetView(this); DataContext = viewModel; ExternalLinksEntityControl.EditEntityButton.Content = "Abrir"; }