Example #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);
        }
Example #2
0
 internal void RevertSearchedTextToOriginal()
 {
     CaseControlDetailsVM.RevertSearchedTextToOriginal();
 }
Example #3
0
 internal void HighlightCaseText(string text)
 {
     CaseControlDetailsVM.HighlightCaseText(text);
 }