client/src/Iri.Modernisation.Controls/View/ProductionView/ProductionView.xaml.cs
author Matthieu Totet
Thu, 03 Dec 2009 16:05:57 +0100
changeset 17 0e4e63f6f567
parent 0 249d70e7b32d
child 18 66911d0f0eb6
permissions -rw-r--r--
Update ProductinoView and Components

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.SelectedPart += new EventHandler<HeaderProductionEventArgs>(HeaderProductionElement_SelectedPart);
        }

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