equal
deleted
inserted
replaced
7 using System.Windows.Documents; |
7 using System.Windows.Documents; |
8 using System.Windows.Input; |
8 using System.Windows.Input; |
9 using System.Windows.Media; |
9 using System.Windows.Media; |
10 using System.Windows.Media.Animation; |
10 using System.Windows.Media.Animation; |
11 using System.Windows.Shapes; |
11 using System.Windows.Shapes; |
12 |
12 using Iri.Modernisation.BaseMVVM.Commands; |
13 namespace Iri.Modernisation.Controls.View |
13 namespace Iri.Modernisation.Controls.View |
14 { |
14 { |
15 public partial class ProductionView : UserControl |
15 public partial class ProductionView : UserControl |
16 { |
16 { |
17 public ProductionView() |
17 public ProductionView() |
18 { |
18 { |
|
19 Commands.Initialize(); |
19 InitializeComponent(); |
20 InitializeComponent(); |
|
21 HeaderProductionElement.SelectedPart += Commands.ProductionTimeLine.EditorPartSelected.Execute; |
|
22 //HeaderProductionElement.SelectedPart += new EventHandler<HeaderProductionEventArgs>(HeaderProductionElement_SelectedPart); |
|
23 } |
|
24 |
|
25 void HeaderProductionElement_SelectedPart(object sender, HeaderProductionEventArgs e) |
|
26 { |
|
27 MessageBox.Show(e.ChapterType.ToString()); |
20 } |
28 } |
21 } |
29 } |
22 } |
30 } |