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