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