Source code for MSQuant: frmAnalystSpectra.vb, MSQuant/msquant/src/GUI/forms/frmAnalystSpectra.vb.

Table of contents page.

Home page for MSQuant.

'****************************************************************************
'* 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: Is responsible for showing Analyst spectra on the screen.       *
'*          It encapsulates an instance of                                  *
'*          AxGraphControlLib.AxGraphControl.                               *
'*                                                                          *
'****************************************************************************

'****************************************************************************
'*                               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:   frmAnalystSpectra.vb                                      *
'*    TYPE:  VISUAL_BASIC                                                   *
'*                                                                          *
'* CREATED: PM 2005-01-11   Vrs 1.0.                                        *
'* UPDATED: PM 2005-xx-xx                                                   *
'*                                                                          *
'****************************************************************************

Option Strict On
Option Explicit On 

'Imports AxGraphControlLib '\Analyst\bin\GraphControl.ocx
'Requires using ActiveX Control:
'  1. menu Tools/Choose Toolbox Items/COM components/GraphControl
'      Note: item must be ***checked***, not just selected.
'      (or browse to 'D:\Program Files\Analyst\bin\GraphControl.ocx')
'      Open. OK.
'     (In VS 2003 it is: menu Tools/Add;Remove Toolbox Items/ ...)
'  2. Drag 'Graph Control' to some form in order to have the
'     reference 'AxGraphControlLib' added to References.
'  3. Delete the added control (the reference will stay)
'
'  Typical object is: AxGraphControlLib.AxGraphControl


Imports massSpectrometryBase 'For rawDataFileHandling


'****************************************************************************
'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 frmAnalystSpectra
    'Inherits System.Windows.Forms.Form
    'Inherits frmSpectrumDisplay
    Inherits frmAnalystSpectraWithLabelMarkers

#Region " Windows Form Designer generated code "

    '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.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmFinneganSpectra))
        '
        'frmFinneganSpectra
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.ClientSize = New System.Drawing.Size(672, 381)
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.Name = "frmFinneganSpectra"
        Me.Text = "frmFinneganSpectra"

    End Sub
#End Region


    '****************************************************************************
    '*    <placeholder for header>                                              *
    '*    Note: aExternalDisplay can be Nothing. Then the internal one is used. *
    '****************************************************************************
    Public Sub New( _
      ByRef aRawFile As massSpectrometryBase.rawDataFileHandling, _
      ByRef anExternalDisplay2 As AnalystCOM, _
      ByRef anInRawDataFileHandling As rawDataFileHandling, _
      ByRef anInOutMarker As SDUPspectrumMarking)

        MyBase.New(aRawFile, anExternalDisplay2, _
                   anInRawDataFileHandling, anInOutMarker)

        'This call is required by the Windows Form Designer.
        InitializeComponent()
    End Sub 'New


    'Overriden is base class:
    '  1. spectrumControlLocAndSize
    '  2. setSpectrumTitle 
    '  3. updateData
    '  4. newZoom
    '  5. refresh2



End Class 'frmAnalystSpectra

    

    

Generated by script codePublish.pl at 2008-09-23T11:59:18.