public MainWindow()
        {
            InitializeComponent();

            formView = new OrdersRootViewModel(tabControl.Items);
            this.DataContext = formView;
        }
示例#2
0
 public Window1()
 {
     InitializeComponent();
     var formView = new OrdersRootViewModel(null);
     this.DataContext = formView;
 }