client/src/Iri.Modernisation.Controls/View/ProductionView/ProductionView.xaml.cs
author Matthieu Totet
Tue, 08 Dec 2009 11:39:27 +0100
changeset 19 7d044e7562ea
parent 18 66911d0f0eb6
child 20 c2dd8119a6c1
permissions -rw-r--r--
Update ProductionView

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Iri.Modernisation.BaseMVVM.Commands;
namespace Iri.Modernisation.Controls.View
{
    public partial class ProductionView : UserControl
    {
        public ProductionView()
        {
            Commands.Initialize();
            InitializeComponent();
            HeaderProductionElement.SelectedPart += Commands.ProductionTimeLine.EditorPartSelected.Execute;
            HeaderProductionElement.FinishedPart += Commands.ProductionTimeLine.EditorPartFinished.Execute;
          
            //HeaderProductionElement.SelectedPart += new EventHandler<HeaderProductionEventArgs>(HeaderProductionElement_SelectedPart);
        }

        void HeaderProductionElement_SelectedPart(object sender, HeaderProductionEventArgs e)
        {
            MessageBox.Show(e.ChapterType.ToString());
        }
    }
}