Beispiel #1
0
        public PurcpManagerPresenter(IKernel kernel, IPurcpManagerView view)
        {
            _kernel = kernel;
            _view   = view;

            _view.AddOrder          += OnButtonAddOrderClick;
            _view.AddProvider       += OnButtonAddProviderClick;
            _view.RemoveProvider    += OnButtonRemoveProviderClick;
            _view.ViewInfoProvider  += OnButtonViewInfoProviderClick;
            _view.ViewInfoEndedProd += OnButtonViewInfoEndedProdClick;
            _view.ViewInfoOrderProd += OnButtonViewInfoOrderProdClick;
            _view.Back += OnButtonBackClick;
        }
 public PurcpManagerPresenter(IKernel kernel, IPurcpManagerView view)
 {
     _kernel = kernel;
     _view   = view;
 }