Ask us about the Windows Phone 7

Check this out:

image

Watch the clip

This is a sample app running the beta of ECO6 for the windows phone with this model:

image

 

It also runs the beta of the GTP.NET.SL.PHONE Interactive Gantt control (versions for Silverlight, WPF and now also for Windows Phone).

Being declarative in definition in domain model and in UI leaves very little code to do the actions:

  1.   private void ApplicationBarIconButton_Click(object sender, EventArgs e)
  2.   {
  3.     Resource c1=new Resource(_ecoSpace) { Attribute1 = (_i++).ToString() + "GR" };
  4.     c1.Task.Add(new Task(_ecoSpace)
  5.       { Name = _i.ToString(), Start = DateTime.Now, Stop = DateTime.Now.AddDays(5) });
  6.     c1.Task.Add(new Task(_ecoSpace)
  7.       { Name = "Text" + _i.ToString(), Start = DateTime.Now.AddDays(7), Stop = DateTime.Now.AddDays(13) });
  8.   }
  9.  
  10.   private void ApplicationBarIconButton_Click_1(object sender, EventArgs e)
  11.   {
  12.     if (TheGantt.SelectedTimeItems.Count() > 0)
  13.     {
  14.       (TheGantt.SelectedTimeItems[0].DataContext as Task).Resource.Task.Add(
  15.           new Task(_ecoSpace)
  16.             { Start = TheGantt.DateScaler.StartTime, Stop = TheGantt.DateScaler.StartTime.AddDays(2),Name="Added" });
  17.     }
  18.   }
  19. }

This entry was posted in Declarative, MDA, ThirdParty, WindowsPhone. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*