public FindItemViewModel(FindItemModel model, IUIVisualizerService uiVisualizerService, IPleaseWaitService pleaseWaitService, IMessageService messageService) { FindItem = model; _uiVisualizerService = uiVisualizerService; _pleaseWaitService = pleaseWaitService; _messageService = messageService; SearchCommand = new Command(Search); NextPageCommand = new Command(NextPage); PreviousPageCommand = new Command(PreviousPage); OkCommand = new Command(Ok); }
private void FindItem() { var fi = new FindItemModel(); var returnVal = _uiVisualizerService.ShowDialog(new FindItemViewModel(fi, _uiVisualizerService, _pleaseWaitService, _messageService)); }