Example #1
0
        public virtual void OnMetadataViewerRequest(DatasetEventArgs e)
        {
            EventHandler <DatasetEventArgs> handler = MetadataViewerRequest;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 private void DiagrammerEnvironment_MetadataViewerRequest(object sender, DatasetEventArgs e) {
     try {
         this.AddTabbedDocument(new TabbedDocumentMetadata(e.Dataset));
     }
     catch (Exception ex) {
         ExceptionDialog.HandleException(ex);
     }
 }
 public virtual void OnMetadataViewerRequest(DatasetEventArgs e) {
     EventHandler<DatasetEventArgs> handler = MetadataViewerRequest;
     if (handler != null) {
         handler(this, e);
     }
 }