Beispiel #1
0
/*******Get Metadata Info***********************************************************/
        private void btnMetaDoc_Click(object sender, EventArgs e)
        {
            btnMetaDoc.Cursor = Cursors.WaitCursor;

            FormViewMetadata pFrmViewMetadata = new FormViewMetadata();

            pFrmViewMetadata.Text = lboxResults.SelectedItem.ToString();
            pFrmViewMetadata.OpenMetadataDoc(cCswSearch.CatalogUrl + "service=CSW&version=2.0.2&request=GetRecordById&typeNames=gmd:MD_Metadata&elementsetname=full&outputSchema=http://www.isotc211.org/2005/gmd&id=" + selectedItem.MetadataId);
            pFrmViewMetadata.Show();
            pFrmViewMetadata.Activate();

            btnMetaDoc.Cursor = Cursors.Default;
        }
        /*******Get Metadata Info***********************************************************/
        private void btnMetaDoc_Click(object sender, EventArgs e)
        {
            btnMetaDoc.Cursor = Cursors.WaitCursor;

            FormViewMetadata pFrmViewMetadata = new FormViewMetadata();
            pFrmViewMetadata.Text = lboxResults.SelectedItem.ToString();
            pFrmViewMetadata.OpenMetadataDoc(cCswSearch.CatalogUrl + "service=CSW&version=2.0.2&request=GetRecordById&typeNames=gmd:MD_Metadata&elementsetname=full&outputSchema=http://www.isotc211.org/2005/gmd&id=" + selectedItem.MetadataId);
            pFrmViewMetadata.Show();
            pFrmViewMetadata.Activate();

            btnMetaDoc.Cursor = Cursors.Default;
        }