예제 #1
0
 public WorkArea()
 {
     InitializeComponent();
     DataContext = new WorkAreaVM();
     //Dispatcher.BeginInvoke(DispatcherPriority.DataBind,
     //    new Action(delegate () {
     //        var dataContext = new WorkAreaVM();
     //        DataContext = dataContext;
     //        SideListVM.WorkAreaVM = dataContext;
     //    }));
 }
예제 #2
0
 private void DoCreateTab()
 {
     WorkAreaVM.AddTabWithCases(Cases);
     SideListWidth = 0;
 }