--- 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;