/// <summary> /// Process in thread /// </summary> public void ThreadProc() { Validation = string.Empty; _asn = new AssigneeModel(); AsnResponse = _asn.Read(AssigneePath); _enh = new EnhancementModel(); EnhResponse = _enh.Read(EnhancementPath); if (EnhResponse == true && AsnResponse == true) { _find = new FindMatch(_asn, _enh); _find.Get(); LoaderVisiblity = "Hidden"; ButtonEnable = "True"; } else if (AsnResponse == false) { Validation = "Invalid Assignee Document Format"; LoaderVisiblity = "Hidden"; ButtonEnable = "True"; } else if (EnhResponse == false) { Validation = "Invalid Enhancement Document Format"; LoaderVisiblity = "Hidden"; ButtonEnable = "True"; } }