public UserControl CreateUpdateSkeletonControl(ViewModelActionDelegater viewModelActionDelegater,IProductUpdate productUpdate)
        {
            var updatePanel = new Updating.Userinterface.UpdateSkeletonControl();
            var updateProposalViewModel = new UpdatePropopsalViewModel(viewModelActionDelegater, _updateManager, productUpdate);

            updatePanel.DataContext = updateProposalViewModel;

            return updatePanel;
        }
        public UserControl CreateUpdateSkeletonControl(UpdatePropopsalViewModel updateProposalViewModel)
        {
            var updatePanel = new Updating.Userinterface.UpdateSkeletonControl();
            updatePanel.DataContext = updateProposalViewModel;

            return updatePanel;
        }
Esempio n. 3
0
 public void ShowUpdateAcceptation(IProductUpdate productUpdate)
 {
     _updateProposalViewModel = new UpdatePropopsalViewModel(this,_updateManager,productUpdate);
     Content = _userInterfaceFactory.CreateUpdateSkeletonControl(_updateProposalViewModel);
 }