Bezieht sich auf vorhergehendes Psoting!
Code 2:
	
		
			
		
		
									
									
									
								Code 2:
Quellcode
- #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 tAsk As System.Windows.Forms.TextBox
- Friend WithEvents Label3 As System.Windows.Forms.Label
- Friend WithEvents tMean As System.Windows.Forms.TextBox
- Friend WithEvents Label5 As System.Windows.Forms.Label
- Friend WithEvents Label4 As System.Windows.Forms.Label
- Friend WithEvents Ask As System.Windows.Forms.Label
- Friend WithEvents tTimeStamp As System.Windows.Forms.TextBox
- Friend WithEvents tBid As System.Windows.Forms.TextBox
- Friend WithEvents Button1 As System.Windows.Forms.Button
- Friend WithEvents tPair As System.Windows.Forms.TextBox
- <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
- Me.components = New System.ComponentModel.Container
- Me.GroupBox1 = New System.Windows.Forms.GroupBox
- Me.tAsk = New System.Windows.Forms.TextBox
- Me.Label3 = New System.Windows.Forms.Label
- Me.tMean = New System.Windows.Forms.TextBox
- Me.Label5 = New System.Windows.Forms.Label
- Me.Label4 = New System.Windows.Forms.Label
- Me.Ask = New System.Windows.Forms.Label
- Me.tTimeStamp = New System.Windows.Forms.TextBox
- Me.tBid = New System.Windows.Forms.TextBox
- Me.Button1 = New System.Windows.Forms.Button
- Me.tPair = New System.Windows.Forms.TextBox
- Me.Label1 = New System.Windows.Forms.Label
- Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
- Me.GroupBox1.SuspendLayout()
- Me.SuspendLayout()
- '
- 'GroupBox1
- '
- Me.GroupBox1.Controls.Add(Me.tAsk)
- Me.GroupBox1.Controls.Add(Me.Label3)
- Me.GroupBox1.Controls.Add(Me.tMean)
- Me.GroupBox1.Controls.Add(Me.Label5)
- Me.GroupBox1.Controls.Add(Me.Label4)
- Me.GroupBox1.Controls.Add(Me.Ask)
- Me.GroupBox1.Controls.Add(Me.tTimeStamp)
- Me.GroupBox1.Controls.Add(Me.tBid)
- Me.GroupBox1.Location = New System.Drawing.Point(144, 8)
- Me.GroupBox1.Name = "GroupBox1"
- Me.GroupBox1.Size = New System.Drawing.Size(272, 120)
- Me.GroupBox1.TabIndex = 7
- Me.GroupBox1.TabStop = False
- Me.GroupBox1.Text = "Tick"
- '
- 'tAsk
- '
- Me.tAsk.Location = New System.Drawing.Point(72, 16)
- Me.tAsk.Name = "tAsk"
- Me.tAsk.Size = New System.Drawing.Size(192, 20)
- Me.tAsk.TabIndex = 0
- Me.tAsk.Text = "Ask price"
- '
- 'Label3
- '
- Me.Label3.Location = New System.Drawing.Point(8, 96)
- Me.Label3.Name = "Label3"
- Me.Label3.Size = New System.Drawing.Size(64, 16)
- Me.Label3.TabIndex = 2
- Me.Label3.Text = "TimeStamp"
- '
- 'tMean
- '
- Me.tMean.Location = New System.Drawing.Point(72, 64)
- Me.tMean.Name = "tMean"
- Me.tMean.Size = New System.Drawing.Size(192, 20)
- Me.tMean.TabIndex = 0
- Me.tMean.Text = "Mean"
- '
- 'Label5
- '
- Me.Label5.Location = New System.Drawing.Point(8, 72)
- Me.Label5.Name = "Label5"
- Me.Label5.Size = New System.Drawing.Size(56, 16)
- Me.Label5.TabIndex = 2
- Me.Label5.Text = "Mean"
- '
- 'Label4
- '
- Me.Label4.Location = New System.Drawing.Point(8, 48)
- Me.Label4.Name = "Label4"
- Me.Label4.Size = New System.Drawing.Size(56, 16)
- Me.Label4.TabIndex = 2
- Me.Label4.Text = "Bid"
- '
- 'Ask
- '
- Me.Ask.Location = New System.Drawing.Point(8, 24)
- Me.Ask.Name = "Ask"
- Me.Ask.Size = New System.Drawing.Size(56, 16)
- Me.Ask.TabIndex = 2
- Me.Ask.Text = "Ask"
- '
- 'tTimeStamp
- '
- Me.tTimeStamp.Location = New System.Drawing.Point(72, 88)
- Me.tTimeStamp.Name = "tTimeStamp"
- Me.tTimeStamp.Size = New System.Drawing.Size(192, 20)
- Me.tTimeStamp.TabIndex = 0
- Me.tTimeStamp.Text = "timestamp"
- '
- 'tBid
- '
- Me.tBid.Location = New System.Drawing.Point(72, 40)
- Me.tBid.Name = "tBid"
- Me.tBid.Size = New System.Drawing.Size(192, 20)
- Me.tBid.TabIndex = 0
- Me.tBid.Text = "Bid price"
- '
- 'Button1
- '
- Me.Button1.Location = New System.Drawing.Point(16, 48)
- Me.Button1.Name = "Button1"
- Me.Button1.Size = New System.Drawing.Size(112, 32)
- Me.Button1.TabIndex = 6
- Me.Button1.Text = "Get Tick"
- '
- 'tPair
- '
- Me.tPair.Location = New System.Drawing.Point(16, 16)
- Me.tPair.Name = "tPair"
- Me.tPair.Size = New System.Drawing.Size(112, 20)
- Me.tPair.TabIndex = 5
- Me.tPair.Text = "EUR/USD"
- '
- 'Label1
- '
- Me.Label1.AutoSize = True
- Me.Label1.Location = New System.Drawing.Point(16, 96)
- Me.Label1.Name = "Label1"
- Me.Label1.Size = New System.Drawing.Size(39, 13)
- Me.Label1.TabIndex = 8
- Me.Label1.Text = "Label1"
- '
- 'Timer1
- '
- Me.Timer1.Enabled = True
- Me.Timer1.Interval = 1000
- '
- 'Form1
- '
- Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
- Me.ClientSize = New System.Drawing.Size(424, 141)
- Me.Controls.Add(Me.Label1)
- Me.Controls.Add(Me.GroupBox1)
- Me.Controls.Add(Me.Button1)
- Me.Controls.Add(Me.tPair)
- Me.Name = "Form1"
- Me.Text = "RateSample"
- Me.GroupBox1.ResumeLayout(False)
- Me.GroupBox1.PerformLayout()
- Me.ResumeLayout(False)
- Me.PerformLayout()
- End Sub
- #End Region
Wie Samen, die unter der Schneedecke träumen, träumen eure Herzen vom Frühling. Vertraut diesen Träumen, denn in ihnen verbirgt sich das Tor zur Unendlichkeit. Khalil Gibran
									 
			 Mit Instanzen instanziieren und Konstruktor etc. "Von der Klasse zum Objekt: der Konstruktor" heißt es in meinem Buch:
  Mit Instanzen instanziieren und Konstruktor etc. "Von der Klasse zum Objekt: der Konstruktor" heißt es in meinem Buch: 