--- a/src/FingersDance.Control.SessionInput/UserControlListProject.xaml.cs Thu Oct 15 02:29:22 2009 +0200
+++ b/src/FingersDance.Control.SessionInput/UserControlListProject.xaml.cs Thu Oct 15 16:25:38 2009 +0200
@@ -37,8 +37,7 @@
{
CustomListBoxItem Contener = new CustomListBoxItem();
Contener.Name = "New Project";
- Label l = new Label();
- l.Content = "New Project";
+ UserControlCustomLabel l = new UserControlCustomLabel("New Project");
Contener.Content = l;
stackPanel.Children.Add(Contener);
Contener.ContactTapGesture += Item_ContactTapGesture;
@@ -46,8 +45,7 @@
{
Contener = new CustomListBoxItem();
Contener.Name = elt.Key;
- l = new Label();
- l.Content = elt.Key;
+ l = new UserControlCustomLabel(elt.Key);
Contener.Content = l;
stackPanel.Children.Add(Contener);
Contener.ContactTapGesture += Item_ContactTapGesture;