void ButtonComments_Click(object sender, RoutedEventArgs e) { AugmentedBindable <PDFDocument> pdf_document_bindable = this.DataContext as AugmentedBindable <PDFDocument>; if (null == pdf_document_bindable) { return; } MetadataCommentEditorControl editor = new MetadataCommentEditorControl(); editor.Show(pdf_document_bindable); }
public static void TestHarness() { MetadataCommentEditorControl c = new MetadataCommentEditorControl(); c.Show(); }