|
Public Class frmAbout
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
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.
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents cmd_ok As System.Windows.Forms.Button
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel
Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents lblVersion As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmAbout))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.PictureBox1 = New System.Windows.Forms.PictureBox
Me.LinkLabel1 = New System.Windows.Forms.LinkLabel
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.lblVersion = New System.Windows.Forms.Label
Me.cmd_ok = New System.Windows.Forms.Button
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.PictureBox1)
Me.GroupBox1.Controls.Add(Me.LinkLabel1)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.lblVersion)
Me.GroupBox1.Location = New System.Drawing.Point(10, 8)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(255, 120)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "About VBScan"
'
'PictureBox1
'
Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
Me.PictureBox1.Location = New System.Drawing.Point(8, 24)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(48, 48)
Me.PictureBox1.TabIndex = 5
Me.PictureBox1.TabStop = False
'
'LinkLabel1
'
Me.LinkLabel1.Location = New System.Drawing.Point(88, 40)
Me.LinkLabel1.Name = "LinkLabel1"
Me.LinkLabel1.Size = New System.Drawing.Size(80, 16)
Me.LinkLabel1.TabIndex = 3
Me.LinkLabel1.TabStop = True
Me.LinkLabel1.Text = "Martin Demker"
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(168, 40)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(80, 16)
Me.Label3.TabIndex = 2
Me.Label3.Text = "(C) 2004"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(72, 40)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(16, 16)
Me.Label2.TabIndex = 1
Me.Label2.Text = "by"
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(64, 24)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(184, 16)
Me.Label1.TabIndex = 0
Me.Label1.Text = "A Barcode Scanner for Windows"
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(35, 88)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(184, 24)
Me.Label5.TabIndex = 6
Me.Label5.Text = "developed with Visual Studio .NET"
'
'lblVersion
'
Me.lblVersion.Location = New System.Drawing.Point(72, 56)
Me.lblVersion.Name = "lblVersion"
Me.lblVersion.Size = New System.Drawing.Size(176, 16)
Me.lblVersion.TabIndex = 2
Me.lblVersion.Text = "v0.5.0"
Me.lblVersion.TextAlign = System.Drawing.ContentAlignment.TopRight
'
'cmd_ok
'
Me.cmd_ok.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.cmd_ok.Location = New System.Drawing.Point(97, 136)
Me.cmd_ok.Name = "cmd_ok"
Me.cmd_ok.Size = New System.Drawing.Size(80, 24)
Me.cmd_ok.TabIndex = 1
Me.cmd_ok.Text = "OK"
'
'frmAbout
'
Me.AcceptButton = Me.cmd_ok
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.CancelButton = Me.cmd_ok
Me.ClientSize = New System.Drawing.Size(274, 162)
Me.Controls.Add(Me.cmd_ok)
Me.Controls.Add(Me.GroupBox1)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
Me.Name = "frmAbout"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "VBScan: About"
Me.GroupBox1.ResumeLayout(False)
Me.ResumeLayout(False)
End Sub
#End Region
Private Sub cmd_ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmd_ok.Click
Me.Dispose()
End Sub
Private Sub frmAbout_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim ainfo As New AssemblyInfo
Me.lblVersion.Text = String.Format("Version {0}", ainfo.Version)
End Sub
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.