Пример #1
0
        public CaseControlVM(ICase caseModel, CasesCanvasVM casesCanvasVM)
        {
            if (caseModel == null)
            {
                return;
            }
            CaseModel            = caseModel;
            CaseControlDetailsVM = new CaseControlDetailsVM(caseModel);
            DetailsVisible       = false;
            ShowDetails          = new RelayCommand(DoShowDetails);

            ZIndex = _maxZIndex++;

            CaseCreatorLastName = caseModel.CreatedBy?.GetLastName();
            CasesCanvasVM       = casesCanvasVM;
            AddToSideList       = new RelayCommand(AddCaseToSideList);
            CloseCase           = new RelayCommand(DoCloseCase);
        }
Пример #2
0
 internal void RevertSearchedTextToOriginal()
 {
     CaseControlDetailsVM.RevertSearchedTextToOriginal();
 }
Пример #3
0
 internal void HighlightCaseText(string text)
 {
     CaseControlDetailsVM.HighlightCaseText(text);
 }