Пример #1
0
 public EpicControl(Epic epic, ScrumSurface surface)
     : base(epic, surface)
 {
     UserInterface                  = new EpicUI_Base();
     StdView                        = new EpicUI_View();
     EditorView                     = new EpicUI_Editor();
     this.Epic.DataChanged         += (s, e) => { this.Invoke(CheckVisibility); };
     this.Epic.ExternalDataChanged += (s, e) => { this.Invoke(CheckVisibility); };
     AfterInit();
 }
Пример #2
0
 public UserStoryControl(UserStory story, ScrumSurface surface)
     : base(story, surface)
 {
     _ddc          = new DragDropController(surface, this, DragDropController.MODE_OBJCENTER);
     UserInterface = new UserStoryUI_Base();
     StdView       = new UserStoryUI_View();
     EditorView    = new UserStoryUI_Editor();
     this.DisplaySettings.ViewChanged += DisplaySettings_ViewChanged;
     UserStory.DataChanged            += UserStory_DataChanged;
     CheckLine();
     AfterInit();
     UpdateEffortSum();
     Surface.Database.EffortSum.EffortPointsChanged += this.UpdateEffortSum;
 }