Ejemplo n.º 1
0
        public ChildWindow()
        {
            InitializeComponent();
            DataContext = this;

            DialogResultCommand = new ResultCommand(
                result =>
                    {
                        DialogResult = result;
                        Close();
                    });
        }
Ejemplo n.º 2
0
        public ChildWindow()
        {
            InitializeComponent();
            DataContext = this;

            DialogResultCommand = new ResultCommand(
                result =>
            {
                DialogResult = result;
                Close();
            });
        }