Ejemplo n.º 1
0
 protected virtual void OnEditProperties(EventType eventType)
 {
     EditCategoryDialog dialog = new EditCategoryDialog (project, eventType,
         this.Toplevel as Window);
     dialog.Run ();
     dialog.Destroy ();
 }
 protected virtual void OnEditProperties(TimeNode tNode, object val)
 {
     EditCategoryDialog dialog = new EditCategoryDialog(ts);
     dialog.Category = tNode as Category;
     dialog.Project = project;
     dialog.Run();
     dialog.Destroy();
     if(TimeNodeChanged != null)
         TimeNodeChanged(tNode, tNode.Name);
 }