src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs
author sarias
Fri, 16 Oct 2009 11:42:18 +0200
changeset 158 6731e300ec85
parent 152 46577fd0a294
child 160 e940ca798fe3
permissions -rw-r--r--
Resize Menu

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();
        }
	}
}