private void butViewDocTypes_Click(object sender, RoutedEventArgs e) { DocTypeView dtv = new DocTypeView(_scanDocHandler, _docTypesMatcher); dtv.ShowDocTypeList("", null, null); dtv.ShowDialog(); }
private void btnViewDocTypes_Click(object sender, RoutedEventArgs e) { DocTypeView dtv = new DocTypeView(_scanDocHandler, _docTypesMatcher); dtv.ShowDocTypeList((_curSelectedDocType == null) ? "" : _curSelectedDocType.docTypeName, _curDocScanDocInfo, _curDocScanPages); dtv.ShowDialog(); ShowDocToBeFiled(_curDocToBeFiledIdxInList); // Use a background worker to repopulate the list of images if (!_bwThreadForImagesPopup.IsBusy) _bwThreadForImagesPopup.RunWorkerAsync(); }