Esempio n. 1
0
        public Main_View(Document document)
        {
            InitializeComponent();

            var dc = new Main_ViewModel(document);

            DataContext = dc;
        }
 public MainWindow()
 {
     InitializeComponent();
     DataContext = myViewModel = new Main_ViewModel();
 }