src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs
author PAMPHILE Jonathan <pamphile@efrei.fr>
Thu, 15 Oct 2009 02:29:22 +0200
changeset 152 46577fd0a294
parent 150 569925b65604
child 160 e940ca798fe3
permissions -rw-r--r--
PlayerPause en resize

using System;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using FingersDance.Data;

namespace FingersDance.Control.UserPanel
{
	public partial class UserControlUserPanel
	{
        public int id = 0;
        Project _Project = new Project();

        public Project Project
        {
            get { return _Project; }
            set { _Project = value; }
        }

		public UserControlUserPanel()
		{
			this.InitializeComponent();

			// Insert code required on object creation below this point.
		}

        public UserControlUserPanel(int idPar, UInt32 intColor, Project p, string path)
        {
            this.InitializeComponent();
            id = idPar;
            _Project = p;
            this.UserControlSyncSource.Load(path, intColor);
        }

        public void PlayerPause()
        {
            UserControlSyncSource.PlayerPause();
        }
	}
}