Пример #1
0
        public bool OpenEditEntityDialog(EditMeasurementViewModel viewModel)
        {
            var diag = new EditMeasurementView(viewModel)
            {
                Owner = this
            };

            return((bool)diag.ShowDialog());
        }
Пример #2
0
        public bool ShowEditMeasurementDialog(EditMeasurementViewModel vm)
        {
            var diag = new EditMeasurementView(vm);

            return((bool)diag.ShowDialog());
        }