src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs
changeset 150 569925b65604
parent 146 dd8ed4d3beb6
child 152 46577fd0a294
equal deleted inserted replaced
149:df197df887d3 150:569925b65604
    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(Project p, string path)
    32         public UserControlUserPanel(int idPar, UInt32 intColor, Project p, string path)
    33         {
    33         {
    34             this.InitializeComponent();
    34             this.InitializeComponent();
       
    35             id = idPar;
    35             _Project = p;
    36             _Project = p;
    36             this.UserControlSyncSource.Load(path);
    37             this.UserControlSyncSource.Load(path, intColor);
    37         }
    38         }
    38 	}
    39 	}
    39 }
    40 }