src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs
changeset 160 e940ca798fe3
parent 152 46577fd0a294
child 162 0b9f989bcb37
equal deleted inserted replaced
157:0fd2b41ab402 160:e940ca798fe3
    27 			this.InitializeComponent();
    27 			this.InitializeComponent();
    28 
    28 
    29 			// Insert code required on object creation below this point.
    29 			// Insert code required on object creation below this point.
    30 		}
    30 		}
    31 
    31 
    32         public UserControlUserPanel(int idPar, UInt32 intColor, Project p, string path)
    32         public UserControlUserPanel(int idPar, Color col, Project p, string path)
    33         {
    33         {
    34             this.InitializeComponent();
    34             this.InitializeComponent();
    35             id = idPar;
    35             id = idPar;
    36             _Project = p;
    36             _Project = p;
    37             this.UserControlSyncSource.Load(path, intColor);
    37             this.UserControlSyncSource.Load(path, col, _Project.Cutting);
    38         }
    38         }
    39 
    39 
    40         public void PlayerPause()
    40         public void PlayerPause()
    41         {
    41         {
    42             UserControlSyncSource.PlayerPause();
    42             UserControlSyncSource.PlayerPause();