Пример #1
0
 public ConditionalCheckBox()
 {
     this.InitializeComponent();
     this.viewModel          = this.treeGrid.DataContext as EmployeeDetailsRepository;
     this.treeGrid.Loaded   += TreeGrid_Loaded;
     this.treeGrid.Unloaded += TreeGrid_Unloaded;
 }
Пример #2
0
 public OnDemandLoading()
 {
     this.InitializeComponent();
     this.viewModel          = this.treeGrid.DataContext as EmployeeDetailsRepository;
     this.treeGrid.Loaded   += TreeGrid_Loaded;
     this.treeGrid.Unloaded += TreeGrid_Unloaded;
 }