示例#1
0
 public TaskManagementPresenter(
     ITaskManagementModel model,
     ITaskManagementView view)
     : base(model, view)
 {
     Initialize();
 }
示例#2
0
        public TaskManagementPresenter(ITaskManagementView view)
        {
            _view         = view;
            _repository   = new JobEntitySrv();
            _repoLocation = new ShelfLocationSrv();

            _view.Form_Load       += Load;
            _view.Filter_Click    += Filter;
            _view.Release_Click   += Release;
            _view.ResetGrid       += ResetGrid;
            _view.QCPass_Click    += QC_Pass;
            _view.QCNG_Click      += QC_NG;
            _view.Sorting_Changed += Sorting;
            _view.InsertUrgent    += InsertUrgent;
            _view.CellValidate    += CellValidate;
            _view.UpdateSchedule  += UpdateSchedule;
        }