private void ButtonExpedition_Click(object sender, RoutedEventArgs e) { ButtonExplorePopup.Close(); { FeatureTrackingManager.Instance.UseFeature(Features.Expedition_Open_Document); MainWindowServiceDispatcher.Instance.OpenExpedition(pdf_renderer_control_stats.pdf_document.Library, pdf_renderer_control_stats.pdf_document); } }
private void ButtonExpedition_Click(object sender, RoutedEventArgs e) { ButtonExplorePopup.Close(); FeatureTrackingManager.Instance.UseFeature(Features.Expedition_Open_Document); PDFDocument pdf_document = GetPDFDocument(); ASSERT.Test(pdf_document != null); if (pdf_document != null) { MainWindowServiceDispatcher.Instance.OpenExpedition(pdf_document.LibraryRef, pdf_document); } }