Click here to Skip to main content
15,886,678 members
Articles / Programming Languages / Visual Basic 10

A Look under the hood of the .NET Framework

Rate me:
Please Sign up or sign in to vote.
4.95/5 (78 votes)
11 Feb 2013CPOL49 min read 186.6K   1.5K   166  
Journey to the center of the .NET Framework with a chance of IL along the way!
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class ForEachForm
    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.btnRunForEach = New System.Windows.Forms.Button()
      Me.btnRunForEachRewritten = New System.Windows.Forms.Button()
      Me.btnRunGenericForEach = New System.Windows.Forms.Button()
      Me.btnRunGenericForEachRewritten = New System.Windows.Forms.Button()
      Me.gbxForEach = New System.Windows.Forms.GroupBox()
      Me.txtForEach = New System.Windows.Forms.TextBox()
      Me.gbxForEachRewritten = New System.Windows.Forms.GroupBox()
      Me.txtForEachRewritten = New System.Windows.Forms.TextBox()
      Me.gbxGenericForEach = New System.Windows.Forms.GroupBox()
      Me.txtGenericForEach = New System.Windows.Forms.TextBox()
      Me.gbxGenericForEachRewritten = New System.Windows.Forms.GroupBox()
      Me.txtGenericForEachRewritten = New System.Windows.Forms.TextBox()
      Me.gbxForEach.SuspendLayout()
      Me.gbxForEachRewritten.SuspendLayout()
      Me.gbxGenericForEach.SuspendLayout()
      Me.gbxGenericForEachRewritten.SuspendLayout()
      Me.SuspendLayout()
      '
      'btnRunForEach
      '
      Me.btnRunForEach.Location = New System.Drawing.Point(6, 19)
      Me.btnRunForEach.Name = "btnRunForEach"
      Me.btnRunForEach.Size = New System.Drawing.Size(75, 23)
      Me.btnRunForEach.TabIndex = 0
      Me.btnRunForEach.Text = "Run"
      Me.btnRunForEach.UseVisualStyleBackColor = True
      '
      'btnRunForEachRewritten
      '
      Me.btnRunForEachRewritten.Location = New System.Drawing.Point(6, 19)
      Me.btnRunForEachRewritten.Name = "btnRunForEachRewritten"
      Me.btnRunForEachRewritten.Size = New System.Drawing.Size(75, 23)
      Me.btnRunForEachRewritten.TabIndex = 1
      Me.btnRunForEachRewritten.Text = "Run"
      Me.btnRunForEachRewritten.UseVisualStyleBackColor = True
      '
      'btnRunGenericForEach
      '
      Me.btnRunGenericForEach.Location = New System.Drawing.Point(6, 19)
      Me.btnRunGenericForEach.Name = "btnRunGenericForEach"
      Me.btnRunGenericForEach.Size = New System.Drawing.Size(75, 23)
      Me.btnRunGenericForEach.TabIndex = 2
      Me.btnRunGenericForEach.Text = "Run"
      Me.btnRunGenericForEach.UseVisualStyleBackColor = True
      '
      'btnRunGenericForEachRewritten
      '
      Me.btnRunGenericForEachRewritten.Location = New System.Drawing.Point(6, 19)
      Me.btnRunGenericForEachRewritten.Name = "btnRunGenericForEachRewritten"
      Me.btnRunGenericForEachRewritten.Size = New System.Drawing.Size(75, 23)
      Me.btnRunGenericForEachRewritten.TabIndex = 3
      Me.btnRunGenericForEachRewritten.Text = "Run"
      Me.btnRunGenericForEachRewritten.UseVisualStyleBackColor = True
      '
      'gbxForEach
      '
      Me.gbxForEach.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
      Me.gbxForEach.Controls.Add(Me.txtForEach)
      Me.gbxForEach.Controls.Add(Me.btnRunForEach)
      Me.gbxForEach.Location = New System.Drawing.Point(12, 12)
      Me.gbxForEach.Name = "gbxForEach"
      Me.gbxForEach.Size = New System.Drawing.Size(400, 48)
      Me.gbxForEach.TabIndex = 4
      Me.gbxForEach.TabStop = False
      Me.gbxForEach.Text = "For each"
      '
      'txtForEach
      '
      Me.txtForEach.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
      Me.txtForEach.Location = New System.Drawing.Point(87, 21)
      Me.txtForEach.Name = "txtForEach"
      Me.txtForEach.ReadOnly = True
      Me.txtForEach.Size = New System.Drawing.Size(307, 20)
      Me.txtForEach.TabIndex = 1
      '
      'gbxForEachRewritten
      '
      Me.gbxForEachRewritten.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
      Me.gbxForEachRewritten.Controls.Add(Me.txtForEachRewritten)
      Me.gbxForEachRewritten.Controls.Add(Me.btnRunForEachRewritten)
      Me.gbxForEachRewritten.Location = New System.Drawing.Point(12, 66)
      Me.gbxForEachRewritten.Name = "gbxForEachRewritten"
      Me.gbxForEachRewritten.Size = New System.Drawing.Size(400, 48)
      Me.gbxForEachRewritten.TabIndex = 5
      Me.gbxForEachRewritten.TabStop = False
      Me.gbxForEachRewritten.Text = "For each rewritten"
      '
      'txtForEachRewritten
      '
      Me.txtForEachRewritten.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
      Me.txtForEachRewritten.Location = New System.Drawing.Point(87, 21)
      Me.txtForEachRewritten.Name = "txtForEachRewritten"
      Me.txtForEachRewritten.ReadOnly = True
      Me.txtForEachRewritten.Size = New System.Drawing.Size(307, 20)
      Me.txtForEachRewritten.TabIndex = 1
      '
      'gbxGenericForEach
      '
      Me.gbxGenericForEach.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
      Me.gbxGenericForEach.Controls.Add(Me.txtGenericForEach)
      Me.gbxGenericForEach.Controls.Add(Me.btnRunGenericForEach)
      Me.gbxGenericForEach.Location = New System.Drawing.Point(12, 120)
      Me.gbxGenericForEach.Name = "gbxGenericForEach"
      Me.gbxGenericForEach.Size = New System.Drawing.Size(400, 48)
      Me.gbxGenericForEach.TabIndex = 6
      Me.gbxGenericForEach.TabStop = False
      Me.gbxGenericForEach.Text = "Generic for each"
      '
      'txtGenericForEach
      '
      Me.txtGenericForEach.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
      Me.txtGenericForEach.Location = New System.Drawing.Point(87, 21)
      Me.txtGenericForEach.Name = "txtGenericForEach"
      Me.txtGenericForEach.ReadOnly = True
      Me.txtGenericForEach.Size = New System.Drawing.Size(307, 20)
      Me.txtGenericForEach.TabIndex = 1
      '
      'gbxGenericForEachRewritten
      '
      Me.gbxGenericForEachRewritten.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
      Me.gbxGenericForEachRewritten.Controls.Add(Me.txtGenericForEachRewritten)
      Me.gbxGenericForEachRewritten.Controls.Add(Me.btnRunGenericForEachRewritten)
      Me.gbxGenericForEachRewritten.Location = New System.Drawing.Point(12, 174)
      Me.gbxGenericForEachRewritten.Name = "gbxGenericForEachRewritten"
      Me.gbxGenericForEachRewritten.Size = New System.Drawing.Size(400, 48)
      Me.gbxGenericForEachRewritten.TabIndex = 7
      Me.gbxGenericForEachRewritten.TabStop = False
      Me.gbxGenericForEachRewritten.Text = "Generic for each"
      '
      'txtGenericForEachRewritten
      '
      Me.txtGenericForEachRewritten.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
      Me.txtGenericForEachRewritten.Location = New System.Drawing.Point(87, 21)
      Me.txtGenericForEachRewritten.Name = "txtGenericForEachRewritten"
      Me.txtGenericForEachRewritten.ReadOnly = True
      Me.txtGenericForEachRewritten.Size = New System.Drawing.Size(307, 20)
      Me.txtGenericForEachRewritten.TabIndex = 1
      '
      'ForEachForm
      '
      Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
      Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
      Me.ClientSize = New System.Drawing.Size(424, 241)
      Me.Controls.Add(Me.gbxGenericForEachRewritten)
      Me.Controls.Add(Me.gbxGenericForEach)
      Me.Controls.Add(Me.gbxForEachRewritten)
      Me.Controls.Add(Me.gbxForEach)
      Me.Name = "ForEachForm"
      Me.Text = "For each form"
      Me.gbxForEach.ResumeLayout(False)
      Me.gbxForEach.PerformLayout()
      Me.gbxForEachRewritten.ResumeLayout(False)
      Me.gbxForEachRewritten.PerformLayout()
      Me.gbxGenericForEach.ResumeLayout(False)
      Me.gbxGenericForEach.PerformLayout()
      Me.gbxGenericForEachRewritten.ResumeLayout(False)
      Me.gbxGenericForEachRewritten.PerformLayout()
      Me.ResumeLayout(False)

   End Sub
	Friend WithEvents btnRunForEach As System.Windows.Forms.Button
	Friend WithEvents btnRunForEachRewritten As System.Windows.Forms.Button
	Friend WithEvents btnRunGenericForEach As System.Windows.Forms.Button
	Friend WithEvents btnRunGenericForEachRewritten As System.Windows.Forms.Button
	Friend WithEvents gbxForEach As System.Windows.Forms.GroupBox
	Friend WithEvents txtForEach As System.Windows.Forms.TextBox
	Friend WithEvents gbxForEachRewritten As System.Windows.Forms.GroupBox
	Friend WithEvents txtForEachRewritten As System.Windows.Forms.TextBox
	Friend WithEvents gbxGenericForEach As System.Windows.Forms.GroupBox
	Friend WithEvents txtGenericForEach As System.Windows.Forms.TextBox
	Friend WithEvents gbxGenericForEachRewritten As System.Windows.Forms.GroupBox
	Friend WithEvents txtGenericForEachRewritten As System.Windows.Forms.TextBox
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
CEO JUUN Software
Netherlands Netherlands
Sander Rossel is a Microsoft certified professional developer with experience and expertise in .NET and .NET Core (C#, ASP.NET, and Entity Framework), SQL Server, Azure, Azure DevOps, JavaScript, MongoDB, and other technologies.

He is the owner of JUUN Software, a company specializing in custom software. JUUN Software uses modern, but proven technologies, such as .NET Core, Azure and Azure DevOps.

You can't miss his books on Amazon and his free e-books on Syncfusion!

He wrote a JavaScript LINQ library, arrgh.js (works in IE8+, Edge, Firefox, Chrome, and probably everything else).

Check out his prize-winning articles on CodeProject as well!

Comments and Discussions