예제 #1
0
 public DProjectTaskListView()
 {
     RegisterPoupMenuItem("Edit", "Edit", ProjectTask =>
     {
         Guid id = ProjectTask.AsDyanmic().TaskId;
         OnEditProjectTask(new EventArgs <Guid>(id));
     });
     RegisterPoupMenuItem("Delete", "Delete", ProjectTask =>
     {
         Guid id = ProjectTask.AsDyanmic().TaskId;
         OnDeleteProjectTask(new EventArgs <Guid>(id));
     });
 }