Click here to Skip to main content
15,881,938 members
Articles / Programming Languages / Visual Basic

Metadata from Managed Code

Rate me:
Please Sign up or sign in to vote.
4.33/5 (7 votes)
18 Sep 2009CPOL5 min read 84.9K   2.2K   31  
a custom viewer that would make it easy for everyone to see a picture and view and edit the metadata.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class frmPropertyTest
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.OpenFileDialog = New System.Windows.Forms.OpenFileDialog
        Me.btnBrowse = New System.Windows.Forms.Button
        Me.lblFileName = New System.Windows.Forms.Label
        Me.btnSet = New System.Windows.Forms.Button
        Me.btnGet = New System.Windows.Forms.Button
        Me.txtSystemComment = New System.Windows.Forms.TextBox
        Me.lblSystemComment = New System.Windows.Forms.Label
        Me.lblResults = New System.Windows.Forms.Label
        Me.lblSystemRating = New System.Windows.Forms.Label
        Me.txtSystemRating = New System.Windows.Forms.TextBox
        Me.lblSystemKeywords = New System.Windows.Forms.Label
        Me.txtSystemKeywords = New System.Windows.Forms.TextBox
        Me.btnEnum = New System.Windows.Forms.Button
        Me.btnInfo = New System.Windows.Forms.Button
        Me.lblStatus = New System.Windows.Forms.Label
        Me.txtStatus = New System.Windows.Forms.TextBox
        Me.txtSystemSubject = New System.Windows.Forms.TextBox
        Me.lblSystemSubject = New System.Windows.Forms.Label
        Me.txtSystemTitle = New System.Windows.Forms.TextBox
        Me.lblSystemTitle = New System.Windows.Forms.Label
        Me.xtxteFileName = New cAutoEllipsis.ctlTextBoxEllipsis
        Me.lvResults = New System.Windows.Forms.ListView
        Me.ColumnHeader1 = New System.Windows.Forms.ColumnHeader
        Me.ColumnHeader2 = New System.Windows.Forms.ColumnHeader
        Me.ColumnHeader3 = New System.Windows.Forms.ColumnHeader
        Me.ColumnHeader4 = New System.Windows.Forms.ColumnHeader
        Me.rtbResults = New System.Windows.Forms.RichTextBox
        Me.txtFilter = New System.Windows.Forms.TextBox
        Me.lblFilter = New System.Windows.Forms.Label
        Me.SuspendLayout()
        '
        'OpenFileDialog
        '
        Me.OpenFileDialog.FileName = "OpenFileDialog"
        '
        'btnBrowse
        '
        Me.btnBrowse.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.btnBrowse.Location = New System.Drawing.Point(841, 3)
        Me.btnBrowse.Name = "btnBrowse"
        Me.btnBrowse.Size = New System.Drawing.Size(29, 23)
        Me.btnBrowse.TabIndex = 0
        Me.btnBrowse.Text = "..."
        Me.btnBrowse.UseVisualStyleBackColor = True
        '
        'lblFileName
        '
        Me.lblFileName.AutoSize = True
        Me.lblFileName.Location = New System.Drawing.Point(8, 8)
        Me.lblFileName.Name = "lblFileName"
        Me.lblFileName.Size = New System.Drawing.Size(52, 13)
        Me.lblFileName.TabIndex = 1
        Me.lblFileName.Text = "Filename:"
        '
        'btnSet
        '
        Me.btnSet.Location = New System.Drawing.Point(729, 178)
        Me.btnSet.Name = "btnSet"
        Me.btnSet.Size = New System.Drawing.Size(43, 23)
        Me.btnSet.TabIndex = 4
        Me.btnSet.Text = "Set"
        Me.btnSet.UseVisualStyleBackColor = True
        '
        'btnGet
        '
        Me.btnGet.Location = New System.Drawing.Point(680, 178)
        Me.btnGet.Name = "btnGet"
        Me.btnGet.Size = New System.Drawing.Size(43, 23)
        Me.btnGet.TabIndex = 5
        Me.btnGet.Text = "Get"
        Me.btnGet.UseVisualStyleBackColor = True
        '
        'txtSystemComment
        '
        Me.txtSystemComment.BackColor = System.Drawing.SystemColors.Control
        Me.txtSystemComment.Location = New System.Drawing.Point(120, 33)
        Me.txtSystemComment.Name = "txtSystemComment"
        Me.txtSystemComment.Size = New System.Drawing.Size(750, 20)
        Me.txtSystemComment.TabIndex = 6
        '
        'lblSystemComment
        '
        Me.lblSystemComment.AutoSize = True
        Me.lblSystemComment.Location = New System.Drawing.Point(8, 36)
        Me.lblSystemComment.Name = "lblSystemComment"
        Me.lblSystemComment.Size = New System.Drawing.Size(88, 13)
        Me.lblSystemComment.TabIndex = 7
        Me.lblSystemComment.Text = "System.Comment"
        '
        'lblResults
        '
        Me.lblResults.AutoSize = True
        Me.lblResults.Location = New System.Drawing.Point(8, 207)
        Me.lblResults.Name = "lblResults"
        Me.lblResults.Size = New System.Drawing.Size(45, 13)
        Me.lblResults.TabIndex = 9
        Me.lblResults.Text = "Results:"
        '
        'lblSystemRating
        '
        Me.lblSystemRating.AutoSize = True
        Me.lblSystemRating.Location = New System.Drawing.Point(8, 88)
        Me.lblSystemRating.Name = "lblSystemRating"
        Me.lblSystemRating.Size = New System.Drawing.Size(106, 13)
        Me.lblSystemRating.TabIndex = 10
        Me.lblSystemRating.Text = "System.SimpleRating"
        '
        'txtSystemRating
        '
        Me.txtSystemRating.BackColor = System.Drawing.SystemColors.Control
        Me.txtSystemRating.Location = New System.Drawing.Point(120, 85)
        Me.txtSystemRating.Name = "txtSystemRating"
        Me.txtSystemRating.Size = New System.Drawing.Size(750, 20)
        Me.txtSystemRating.TabIndex = 11
        '
        'lblSystemKeywords
        '
        Me.lblSystemKeywords.AutoSize = True
        Me.lblSystemKeywords.Location = New System.Drawing.Point(8, 62)
        Me.lblSystemKeywords.Name = "lblSystemKeywords"
        Me.lblSystemKeywords.Size = New System.Drawing.Size(90, 13)
        Me.lblSystemKeywords.TabIndex = 13
        Me.lblSystemKeywords.Text = "System.Keywords"
        '
        'txtSystemKeywords
        '
        Me.txtSystemKeywords.BackColor = System.Drawing.SystemColors.Control
        Me.txtSystemKeywords.Location = New System.Drawing.Point(120, 59)
        Me.txtSystemKeywords.Name = "txtSystemKeywords"
        Me.txtSystemKeywords.Size = New System.Drawing.Size(750, 20)
        Me.txtSystemKeywords.TabIndex = 12
        '
        'btnEnum
        '
        Me.btnEnum.Location = New System.Drawing.Point(827, 178)
        Me.btnEnum.Name = "btnEnum"
        Me.btnEnum.Size = New System.Drawing.Size(43, 23)
        Me.btnEnum.TabIndex = 15
        Me.btnEnum.Text = "Enum"
        Me.btnEnum.UseVisualStyleBackColor = True
        '
        'btnInfo
        '
        Me.btnInfo.Location = New System.Drawing.Point(778, 178)
        Me.btnInfo.Name = "btnInfo"
        Me.btnInfo.Size = New System.Drawing.Size(43, 23)
        Me.btnInfo.TabIndex = 14
        Me.btnInfo.Text = "Info"
        Me.btnInfo.UseVisualStyleBackColor = True
        '
        'lblStatus
        '
        Me.lblStatus.AutoSize = True
        Me.lblStatus.Location = New System.Drawing.Point(8, 526)
        Me.lblStatus.Name = "lblStatus"
        Me.lblStatus.Size = New System.Drawing.Size(40, 13)
        Me.lblStatus.TabIndex = 17
        Me.lblStatus.Text = "Status:"
        '
        'txtStatus
        '
        Me.txtStatus.BackColor = System.Drawing.SystemColors.Control
        Me.txtStatus.Location = New System.Drawing.Point(59, 523)
        Me.txtStatus.Name = "txtStatus"
        Me.txtStatus.Size = New System.Drawing.Size(811, 20)
        Me.txtStatus.TabIndex = 18
        '
        'txtSystemSubject
        '
        Me.txtSystemSubject.BackColor = System.Drawing.SystemColors.Control
        Me.txtSystemSubject.Location = New System.Drawing.Point(120, 112)
        Me.txtSystemSubject.Name = "txtSystemSubject"
        Me.txtSystemSubject.Size = New System.Drawing.Size(750, 20)
        Me.txtSystemSubject.TabIndex = 20
        '
        'lblSystemSubject
        '
        Me.lblSystemSubject.AutoSize = True
        Me.lblSystemSubject.Location = New System.Drawing.Point(8, 115)
        Me.lblSystemSubject.Name = "lblSystemSubject"
        Me.lblSystemSubject.Size = New System.Drawing.Size(80, 13)
        Me.lblSystemSubject.TabIndex = 19
        Me.lblSystemSubject.Text = "System.Subject"
        '
        'txtSystemTitle
        '
        Me.txtSystemTitle.BackColor = System.Drawing.SystemColors.Control
        Me.txtSystemTitle.Location = New System.Drawing.Point(120, 139)
        Me.txtSystemTitle.Name = "txtSystemTitle"
        Me.txtSystemTitle.Size = New System.Drawing.Size(750, 20)
        Me.txtSystemTitle.TabIndex = 22
        '
        'lblSystemTitle
        '
        Me.lblSystemTitle.AutoSize = True
        Me.lblSystemTitle.Location = New System.Drawing.Point(8, 142)
        Me.lblSystemTitle.Name = "lblSystemTitle"
        Me.lblSystemTitle.Size = New System.Drawing.Size(64, 13)
        Me.lblSystemTitle.TabIndex = 21
        Me.lblSystemTitle.Text = "System.Title"
        '
        'xtxteFileName
        '
        Me.xtxteFileName.AutoEllipsis = CType((cAutoEllipsis.EllipsisFormat.[End] Or cAutoEllipsis.EllipsisFormat.Start), cAutoEllipsis.EllipsisFormat)
        Me.xtxteFileName.BackColor = System.Drawing.SystemColors.Control
        Me.xtxteFileName.Location = New System.Drawing.Point(59, 5)
        Me.xtxteFileName.Name = "xtxteFileName"
        Me.xtxteFileName.Size = New System.Drawing.Size(776, 20)
        Me.xtxteFileName.TabIndex = 23
        '
        'lvResults
        '
        Me.lvResults.BackColor = System.Drawing.SystemColors.Control
        Me.lvResults.Columns.AddRange(New System.Windows.Forms.ColumnHeader() {Me.ColumnHeader1, Me.ColumnHeader2, Me.ColumnHeader3, Me.ColumnHeader4})
        Me.lvResults.Location = New System.Drawing.Point(50, 207)
        Me.lvResults.Name = "lvResults"
        Me.lvResults.Size = New System.Drawing.Size(820, 310)
        Me.lvResults.TabIndex = 24
        Me.lvResults.UseCompatibleStateImageBehavior = False
        Me.lvResults.View = System.Windows.Forms.View.Details
        '
        'ColumnHeader1
        '
        Me.ColumnHeader1.Text = "Canonical Name"
        Me.ColumnHeader1.Width = 200
        '
        'ColumnHeader2
        '
        Me.ColumnHeader2.Text = "Display Name"
        Me.ColumnHeader2.Width = 120
        '
        'ColumnHeader3
        '
        Me.ColumnHeader3.Text = "Value"
        Me.ColumnHeader3.Width = 400
        '
        'ColumnHeader4
        '
        Me.ColumnHeader4.Text = "Display Type"
        Me.ColumnHeader4.Width = 74
        '
        'rtbResults
        '
        Me.rtbResults.BackColor = System.Drawing.SystemColors.Control
        Me.rtbResults.Location = New System.Drawing.Point(50, 207)
        Me.rtbResults.Name = "rtbResults"
        Me.rtbResults.Size = New System.Drawing.Size(820, 310)
        Me.rtbResults.TabIndex = 25
        Me.rtbResults.Text = ""
        '
        'txtFilter
        '
        Me.txtFilter.BackColor = System.Drawing.SystemColors.Control
        Me.txtFilter.Location = New System.Drawing.Point(50, 180)
        Me.txtFilter.Name = "txtFilter"
        Me.txtFilter.Size = New System.Drawing.Size(607, 20)
        Me.txtFilter.TabIndex = 27
        '
        'lblFilter
        '
        Me.lblFilter.AutoSize = True
        Me.lblFilter.Location = New System.Drawing.Point(8, 183)
        Me.lblFilter.Name = "lblFilter"
        Me.lblFilter.Size = New System.Drawing.Size(29, 13)
        Me.lblFilter.TabIndex = 26
        Me.lblFilter.Text = "Filter"
        '
        'frmPropertyTest
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(882, 548)
        Me.Controls.Add(Me.txtFilter)
        Me.Controls.Add(Me.lblFilter)
        Me.Controls.Add(Me.rtbResults)
        Me.Controls.Add(Me.lvResults)
        Me.Controls.Add(Me.xtxteFileName)
        Me.Controls.Add(Me.txtSystemTitle)
        Me.Controls.Add(Me.lblSystemTitle)
        Me.Controls.Add(Me.txtSystemSubject)
        Me.Controls.Add(Me.lblSystemSubject)
        Me.Controls.Add(Me.txtStatus)
        Me.Controls.Add(Me.lblStatus)
        Me.Controls.Add(Me.btnEnum)
        Me.Controls.Add(Me.btnInfo)
        Me.Controls.Add(Me.lblSystemKeywords)
        Me.Controls.Add(Me.txtSystemKeywords)
        Me.Controls.Add(Me.txtSystemRating)
        Me.Controls.Add(Me.lblSystemRating)
        Me.Controls.Add(Me.lblResults)
        Me.Controls.Add(Me.lblSystemComment)
        Me.Controls.Add(Me.txtSystemComment)
        Me.Controls.Add(Me.btnGet)
        Me.Controls.Add(Me.btnSet)
        Me.Controls.Add(Me.lblFileName)
        Me.Controls.Add(Me.btnBrowse)
        Me.Name = "frmPropertyTest"
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "Test property Get & Set"
        Me.ResumeLayout(False)
        Me.PerformLayout()

    End Sub
    Friend WithEvents OpenFileDialog As System.Windows.Forms.OpenFileDialog
    Friend WithEvents btnBrowse As System.Windows.Forms.Button
    Friend WithEvents lblFileName As System.Windows.Forms.Label
    Friend WithEvents btnSet As System.Windows.Forms.Button
    Friend WithEvents btnGet As System.Windows.Forms.Button
    Friend WithEvents txtSystemComment As System.Windows.Forms.TextBox
    Friend WithEvents lblSystemComment As System.Windows.Forms.Label
    Friend WithEvents lblResults As System.Windows.Forms.Label
    Friend WithEvents lblSystemRating As System.Windows.Forms.Label
    Friend WithEvents txtSystemRating As System.Windows.Forms.TextBox
    Friend WithEvents lblSystemKeywords As System.Windows.Forms.Label
    Friend WithEvents txtSystemKeywords As System.Windows.Forms.TextBox
    Friend WithEvents btnEnum As System.Windows.Forms.Button
    Friend WithEvents btnInfo As System.Windows.Forms.Button
    Friend WithEvents lblStatus As System.Windows.Forms.Label
    Friend WithEvents txtStatus As System.Windows.Forms.TextBox
    Friend WithEvents txtSystemSubject As System.Windows.Forms.TextBox
    Friend WithEvents lblSystemSubject As System.Windows.Forms.Label
    Friend WithEvents txtSystemTitle As System.Windows.Forms.TextBox
    Friend WithEvents lblSystemTitle As System.Windows.Forms.Label
    Friend WithEvents xtxteFileName As cAutoEllipsis.ctlTextBoxEllipsis
    Friend WithEvents lvResults As System.Windows.Forms.ListView
    Friend WithEvents ColumnHeader1 As System.Windows.Forms.ColumnHeader
    Friend WithEvents ColumnHeader2 As System.Windows.Forms.ColumnHeader
    Friend WithEvents rtbResults As System.Windows.Forms.RichTextBox
    Friend WithEvents ColumnHeader3 As System.Windows.Forms.ColumnHeader
    Friend WithEvents ColumnHeader4 As System.Windows.Forms.ColumnHeader
    Friend WithEvents txtFilter As System.Windows.Forms.TextBox
    Friend WithEvents lblFilter As System.Windows.Forms.Label

End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions