src/FingersDance.Control.SessionInput/UserControlListSession.xaml.cs
changeset 182 25b49d4f1635
parent 153 3636bb5f4b67
--- a/src/FingersDance.Control.SessionInput/UserControlListSession.xaml.cs	Wed Oct 28 13:46:38 2009 +0100
+++ b/src/FingersDance.Control.SessionInput/UserControlListSession.xaml.cs	Wed Oct 28 17:07:27 2009 +0100
@@ -25,21 +25,21 @@
         public event EventHandler EH_List_ContactDown;
         public string SelectedItem = "";
 
-        public UserControlListSession(List<Session> sessions)
+        public UserControlListSession(List<Project> projects)
         {
             InitializeComponent();
-            OpenSessions(sessions);
+            OpenProjects(projects);
         }
 
-        private void OpenSessions(List<Session> sessions)
+        private void OpenProjects(List<Project> projects)
         {
             CustomListBoxItem Contener = new CustomListBoxItem();
-            Contener.Name = "New Session";
-            UserControlCustomLabel l = new UserControlCustomLabel("New Session");
+            Contener.Name = "New Project";
+            UserControlCustomLabel l = new UserControlCustomLabel("New Project");
             Contener.Content = l;
             stackPanel.Children.Add(Contener);
             Contener.ContactTapGesture += Item_ContactTapGesture;
-            foreach (Session elt in sessions)
+            foreach (Project elt in projects)
             {
                 Contener = new CustomListBoxItem();
                 Contener.Name = elt.Name;