Ejemplo n.º 1
0
        private void BoundWindowButton_OnClick(object sender, RoutedEventArgs e)
        {
            var boundWindow = new BoundWindow();

            boundWindow.DataContext = viewModel;
            boundWindow.Show();
        }
        private void MenuInitBound_Click(object sender, RoutedEventArgs e)
        {
            var area = _item as TEntity;
            var win  = new BoundWindow();

            //win.Bound = area.InitBound;
            win.Area = area;
            win.Show();
        }