author | cavaliet |
Wed, 14 Oct 2009 17:08:43 +0200 | |
changeset 150 | 569925b65604 |
parent 146 | dd8ed4d3beb6 |
child 152 | 46577fd0a294 |
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 |
} |
35 | 39 |
} |
40 |
} |