equal
deleted
inserted
replaced
56 _headerControlVM = value; |
56 _headerControlVM = value; |
57 OnPropertyChanged("ViewModelHeaderControl"); |
57 OnPropertyChanged("ViewModelHeaderControl"); |
58 } |
58 } |
59 } |
59 } |
60 |
60 |
61 private HeaderProductionVM _headerProductionVM; |
61 private ProductionViewVM _productionViewVM; |
|
62 public ProductionViewVM ViewModelProductionView |
|
63 { |
|
64 get |
|
65 { |
|
66 return _productionViewVM; |
|
67 } |
|
68 set |
|
69 { |
|
70 _productionViewVM = value; |
|
71 OnPropertyChanged("ViewModelProductionView"); |
|
72 } |
|
73 } |
|
74 |
|
75 /*private HeaderProductionVM _headerProductionVM; |
62 public HeaderProductionVM ViewModelHeaderProduction |
76 public HeaderProductionVM ViewModelHeaderProduction |
63 { |
77 { |
64 get |
78 get |
65 { |
79 { |
66 return _headerProductionVM; |
80 return _headerProductionVM; |
68 set |
82 set |
69 { |
83 { |
70 _headerProductionVM = value; |
84 _headerProductionVM = value; |
71 OnPropertyChanged("ViewModelHeaderProduction"); |
85 OnPropertyChanged("ViewModelHeaderProduction"); |
72 } |
86 } |
73 } |
87 }*/ |
74 |
88 |
75 public MainVM(List<VideoBook> videoBooks) |
89 public MainVM(List<VideoBook> videoBooks) |
76 { |
90 { |
77 |
91 |
78 InitializeCommands(); |
92 InitializeCommands(); |
79 List<VideoBook> SelectedVideoBooks = videoBooks; |
93 List<VideoBook> SelectedVideoBooks = videoBooks; |
80 |
94 |
81 |
95 |
82 // Initialisation des Components // |
96 // Initialisation des Components // |
|
97 ViewModelProductionView = new ProductionViewVM(); |
83 ViewModelConsultationView = new ConsultationViewVM(); |
98 ViewModelConsultationView = new ConsultationViewVM(); |
84 ViewModelNavigationBar = new NavigationBarVM() { ConsultMenuViewModel = new ConsultMenuVM(SelectedVideoBooks) }; |
99 ViewModelNavigationBar = new NavigationBarVM() { ConsultMenuViewModel = new ConsultMenuVM(SelectedVideoBooks) }; |
85 ViewModelHeaderControl = new HeaderControlVM(); |
100 ViewModelHeaderControl = new HeaderControlVM(); |
86 ViewModelHeaderProduction = new HeaderProductionVM(); |
101 // ViewModelHeaderProduction = new HeaderProductionVM(); |
87 //------------------------------------------------------// |
102 //------------------------------------------------------// |
88 } |
103 } |
89 |
104 |
90 private void InitializeCommands() |
105 private void InitializeCommands() |
91 { |
106 { |