'****************************************************************************
'* Copyright (C) 2004 Peter Mortensen and Matthias Mann *
'* This file is part of MSQuant. *
'* *
'* MSQuant is distributed under the terms of *
'* the GNU General Public License. See src/COPYING.TXT or *
'* <http://www.gnu.org/licenses/gpl.txt> for details. *
'* *
'* MSQuant is free software; you can redistribute it *
'* and/or modify it under the terms of the GNU *
'* General Public License as published by the Free *
'* Software Foundation; either version 2 of the *
'* License, or (at your option) any later version. *
'* *
'* MSQuant is distributed in the hope that it will be *
'* useful, but WITHOUT ANY WARRANTY; without even the *
'* implied warranty of MERCHANTABILITY or FITNESS FOR *
'* A PARTICULAR PURPOSE. See the GNU General Public *
'* License for more details. *
'* *
'* You should have received a copy of the GNU General *
'* Public License along with MSQuant; if not, write to *
'* the Free Software Foundation, Inc., 59 Temple *
'* Place, Suite 330, Boston, MA 02111-1307 USA *
'* *
'* Purpose: <to be filled in>. *
'* *
'****************************************************************************
'****************************************************************************
'* CEBI *
'* Software Development Group *
'* Peter Mortensen *
'* E-mail: NUKESPAMMERSdrmortensen@get2netZZZZZZ.dk *
'* WWW: http://www.cebi.sdu.dk/ *
'* *
'* Program for post-processing of result from search in mass *
'* spectrometric data. *
'* *
'* FILENAME: formAbout.vb *
'* TYPE: VISUAL_BASIC *
'* *
'* CREATED: PM 2003-??-?? Vrs 1.0. *
'* UPDATED: PM 2004-xx-xx *
'* *
'****************************************************************************
Option Strict On 'Changed PM_OPTIONSTRICT 2003-02-13
Option Explicit On
'****************************************************************************
'd$ <summary>
'd$ Purpose: xyz
'd$
'd$ <see cref="xyz" />.
'd$ <applicationname>xyz</applicationname>
'd$ <author>Peter Mortensen</author>
'd$ <seealso>http://xyz</seealso>
'd$ <codetype>xyz</codetype>
'd$ </summary>
Public Class formAbout
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
Me.Init()
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 Label1 As System.Windows.Forms.Label
Friend WithEvents lblLinkToPIL As System.Windows.Forms.LinkLabel
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents lblLinkToMSQHomePage As System.Windows.Forms.LinkLabel
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(formAbout))
Me.Label1 = New System.Windows.Forms.Label
Me.lblLinkToPIL = New System.Windows.Forms.LinkLabel
Me.Label2 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.lblLinkToMSQHomePage = New System.Windows.Forms.LinkLabel
Me.SuspendLayout()
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label1.Location = New System.Drawing.Point(14, 32)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(286, 24)
Me.Label1.TabIndex = 0
Me.Label1.Text = "xx"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'lblLinkToPIL
'
Me.lblLinkToPIL.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblLinkToPIL.Location = New System.Drawing.Point(53, 160)
Me.lblLinkToPIL.Name = "lblLinkToPIL"
Me.lblLinkToPIL.Size = New System.Drawing.Size(204, 23)
Me.lblLinkToPIL.TabIndex = 1
Me.lblLinkToPIL.TabStop = True
Me.lblLinkToPIL.Text = "http://www.cebi.sdu.dk"
Me.lblLinkToPIL.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(63, 104)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(184, 40)
Me.Label2.TabIndex = 2
Me.Label2.Text = "Copyright by Peter Mortensen and Matthias Mann (until 2003). All rights reserved." & _
""
Me.Label2.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(63, 64)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(184, 16)
Me.Label3.TabIndex = 3
Me.Label3.Text = "xx"
Me.Label3.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'lblLinkToMSQHomePage
'
Me.lblLinkToMSQHomePage.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblLinkToMSQHomePage.Location = New System.Drawing.Point(18, 192)
Me.lblLinkToMSQHomePage.Name = "lblLinkToMSQHomePage"
Me.lblLinkToMSQHomePage.Size = New System.Drawing.Size(274, 23)
Me.lblLinkToMSQHomePage.TabIndex = 4
Me.lblLinkToMSQHomePage.TabStop = True
Me.lblLinkToMSQHomePage.Text = "http://msquant.sourceforge.net/"
Me.lblLinkToMSQHomePage.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'formAbout
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(310, 245)
Me.Controls.Add(Me.lblLinkToMSQHomePage)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.lblLinkToPIL)
Me.Controls.Add(Me.Label1)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "formAbout"
Me.Text = "About MSQuant"
Me.ResumeLayout(False)
End Sub
#End Region
'Changed PM_VERSION_INFO 2007-04-19
'****************************************************************************
'* <placeholder for header> *
'****************************************************************************
Private Sub init()
'Rename the labels??
Label1.Text = "MSQuant " & MSQuant.quantApplication.versionString()
Label3.Text = _
"Release date: " & _
MSQuant.quantApplication.versionString_dateOnly()
End Sub 'init
'****************************************************************************
'* <placeholder for header> *
'****************************************************************************
Private Sub formAbout_Load( _
ByVal aSender As System.Object, ByVal anEvent As System.EventArgs) _
Handles MyBase.Load
'Changed PM_MARKER_REFACTOR_OPPORTUNITY 2008-04-24
'Refactoring opportunity: length, redundant strings - one here
'and another in the designer.
'
'Already done in DTASC.
lblLinkToPIL.Links.Add(0, 23, "http://www.pil.sdu.dk")
lblLinkToPIL.LinkBehavior = LinkBehavior.HoverUnderline
lblLinkToMSQHomePage.Links.Add(0, 31, "http://msquant.sourceforge.net/")
lblLinkToMSQHomePage.LinkBehavior = LinkBehavior.HoverUnderline
End Sub 'formAbout_Load
'****************************************************************************
'* <placeholder for header> *
'****************************************************************************
Private Sub lblLinkToPIL_LinkClicked( _
ByVal aSender As System.Object, _
ByVal anEvent As System.Windows.Forms.LinkLabelLinkClickedEventArgs) _
Handles lblLinkToPIL.LinkClicked
System.Diagnostics.Process.Start(anEvent.Link.LinkData.ToString())
anEvent.Link.Visited = True
End Sub
'****************************************************************************
'* <placeholder for header> *
'****************************************************************************
Private Sub lblLinkToMSQHomePage_LinkClicked( _
ByVal aSender As System.Object, _
ByVal anEvent As System.Windows.Forms.LinkLabelLinkClickedEventArgs) _
Handles lblLinkToMSQHomePage.LinkClicked
System.Diagnostics.Process.Start(anEvent.Link.LinkData.ToString())
anEvent.Link.Visited = True
End Sub 'lblLinkToMSQHomePage_LinkClicked
End Class 'formAbout
Generated by script codePublish.pl at 2008-09-23T11:59:18.