src/FingersDance.Control.SessionInput/UserControlListSession.xaml.cs
changeset 153 3636bb5f4b67
parent 147 1a5da89daee9
child 182 25b49d4f1635
--- a/src/FingersDance.Control.SessionInput/UserControlListSession.xaml.cs	Thu Oct 15 02:29:22 2009 +0200
+++ b/src/FingersDance.Control.SessionInput/UserControlListSession.xaml.cs	Thu Oct 15 16:25:38 2009 +0200
@@ -35,8 +35,7 @@
         {
             CustomListBoxItem Contener = new CustomListBoxItem();
             Contener.Name = "New Session";
-            Label l = new Label();
-            l.Content = "New Session";
+            UserControlCustomLabel l = new UserControlCustomLabel("New Session");
             Contener.Content = l;
             stackPanel.Children.Add(Contener);
             Contener.ContactTapGesture += Item_ContactTapGesture;
@@ -44,8 +43,7 @@
             {
                 Contener = new CustomListBoxItem();
                 Contener.Name = elt.Name;
-                l = new Label();
-                l.Content = elt.Name;
+                l = new UserControlCustomLabel(elt.Name);
                 Contener.Content = l;
                 stackPanel.Children.Add(Contener);
                 Contener.ContactTapGesture += Item_ContactTapGesture;