private static void InitIfNot() { if (thisInstance == null) { thisInstance = new PdfSearch(); } }
private void SearchSplittedPdf_Click(object sender, RoutedEventArgs e) { var foxit = PdfHostSplitted.Child as AxFoxitPDFSDK; if (foxit != null) { PdfSearch.foxit = foxit; PdfSearch.ShowWindow(); } }