src/FingersDance.Control.SessionInput/UserControlListProject.xaml.cs
changeset 182 25b49d4f1635
parent 153 3636bb5f4b67
child 187 b266af50744c
--- a/src/FingersDance.Control.SessionInput/UserControlListProject.xaml.cs	Wed Oct 28 13:46:38 2009 +0100
+++ b/src/FingersDance.Control.SessionInput/UserControlListProject.xaml.cs	Wed Oct 28 17:07:27 2009 +0100
@@ -25,23 +25,23 @@
         public event EventHandler EH_Item_ContactDown;
         public string SelectedItem = "";
 
-        public UserControlListProject(Dictionary<string, Project> projects)
+        public UserControlListProject(Dictionary<string, Cutting> cuttings)
         {
             InitializeComponent();
-            OpenSessions(projects);
+            OpenSessions(cuttings);
         }
 
-        private void OpenSessions(Dictionary<string, Project> projects)
+        private void OpenSessions(Dictionary<string, Cutting> cuttings)
         {
             try
             {
                 CustomListBoxItem Contener = new CustomListBoxItem();
-                Contener.Name = "New Project";
-                UserControlCustomLabel l = new UserControlCustomLabel("New Project");
+                Contener.Name = "New Cutting";
+                UserControlCustomLabel l = new UserControlCustomLabel("New Cutting");
                 Contener.Content = l;
                 stackPanel.Children.Add(Contener);
                 Contener.ContactTapGesture += Item_ContactTapGesture;
-                foreach (KeyValuePair<string, Project> elt in projects)
+                foreach (KeyValuePair<string, Cutting> elt in cuttings)
                 {
                     Contener = new CustomListBoxItem();
                     Contener.Name = elt.Key;