コード例 #1
0
 public void Refresh()
 {
     if (!(_detailView is IManageEffortDetailView))
     {
         return;
     }
     _effortDetailView = (IManageEffortDetailView)_detailView;
     _projectTaskList.Clear();
     _effortDetailView.Bind(_projectTaskList);
     FilterTaskList();
     _effortDetailView.Bind(_projectTaskList);
 }
コード例 #2
0
        protected override void OnViewSet()
        {
            if (!(_detailView is IManageEffortDetailView))
            {
                return;
            }
            _effortDetailView = (IManageEffortDetailView)_detailView;
            _effortDetailView.OnDeleteData += OnDeleteData;
            FilterTaskList();
            InitFilter();
            _effortDetailView.Bind(_projectTaskList);
            _effortDetailView.ObjectChanged += View_ObjectChanged;
            HasChanges = false;
            var message = new UpdateRibbonItemMessage(this.WorkSpaceID, this.ObjectName);

            EventAggregationManager.SendMessage(message);
        }