author | PAMPHILE Jonathan <pamphile@efrei.fr> |
Fri, 16 Oct 2009 03:37:48 +0200 | |
changeset 156 | e16c8c913c65 |
parent 152 | 46577fd0a294 |
child 160 | e940ca798fe3 |
permissions | -rw-r--r-- |
35 | 1 |
using System; |
2 |
using System.IO; |
|
3 |
using System.Net; |
|
4 |
using System.Windows; |
|
5 |
using System.Windows.Controls; |
|
6 |
using System.Windows.Data; |
|
7 |
using System.Windows.Media; |
|
8 |
using System.Windows.Media.Animation; |
|
9 |
using System.Windows.Navigation; |
|
143 | 10 |
using FingersDance.Data; |
35 | 11 |
|
12 |
namespace FingersDance.Control.UserPanel |
|
13 |
{ |
|
14 |
public partial class UserControlUserPanel |
|
15 |
{ |
|
131 | 16 |
public int id = 0; |
143 | 17 |
Project _Project = new Project(); |
18 |
||
19 |
public Project Project |
|
20 |
{ |
|
21 |
get { return _Project; } |
|
22 |
set { _Project = value; } |
|
23 |
} |
|
24 |
||
35 | 25 |
public UserControlUserPanel() |
26 |
{ |
|
27 |
this.InitializeComponent(); |
|
28 |
||
29 |
// Insert code required on object creation below this point. |
|
30 |
} |
|
119 | 31 |
|
150
569925b65604
Annotations are now colored with the same color as the pivot's button
cavaliet
parents:
146
diff
changeset
|
32 |
public UserControlUserPanel(int idPar, UInt32 intColor, Project p, string path) |
119 | 33 |
{ |
34 |
this.InitializeComponent(); |
|
150
569925b65604
Annotations are now colored with the same color as the pivot's button
cavaliet
parents:
146
diff
changeset
|
35 |
id = idPar; |
143 | 36 |
_Project = p; |
150
569925b65604
Annotations are now colored with the same color as the pivot's button
cavaliet
parents:
146
diff
changeset
|
37 |
this.UserControlSyncSource.Load(path, intColor); |
119 | 38 |
} |
152
46577fd0a294
PlayerPause en resize
PAMPHILE Jonathan <pamphile@efrei.fr>
parents:
150
diff
changeset
|
39 |
|
46577fd0a294
PlayerPause en resize
PAMPHILE Jonathan <pamphile@efrei.fr>
parents:
150
diff
changeset
|
40 |
public void PlayerPause() |
46577fd0a294
PlayerPause en resize
PAMPHILE Jonathan <pamphile@efrei.fr>
parents:
150
diff
changeset
|
41 |
{ |
46577fd0a294
PlayerPause en resize
PAMPHILE Jonathan <pamphile@efrei.fr>
parents:
150
diff
changeset
|
42 |
UserControlSyncSource.PlayerPause(); |
46577fd0a294
PlayerPause en resize
PAMPHILE Jonathan <pamphile@efrei.fr>
parents:
150
diff
changeset
|
43 |
} |
35 | 44 |
} |
45 |
} |