Example #1
0
        public bool OpenEditEntityDialog(EditWellViewModel viewModel)
        {
            var diag = new EditWellView(viewModel)
            {
                Owner = this
            };

            return((bool)diag.ShowDialog());
        }
Example #2
0
        public EditWellView(EditWellViewModel vm)
        {
            InitializeComponent();

            viewModel = vm;
            viewModel.SetView(this);
            DataContext = viewModel;

            ExternalLinksEntityControl.EditEntityButton.Content = "Abrir";
        }