New to VB.NET 2010, mostly working in VB 6.0
In early VB.NET 2002, code and designer code were displayed in the same window. Then MicroSoft split it and you can just see your code.
Now in my 2010 when I code, I can see both again: designer code and my code in the same window:
Code:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class frmGIS
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
...
Friend WithEvents radPoint As System.Windows.Forms.RadioButton
Friend WithEvents radLine As System.Windows.Forms.RadioButton
Friend WithEvents Label29 As System.Windows.Forms.Label
[blue]
Private Sub frmGIS_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
End Sub[/blue]
Where black code is designer (is that what you call it?) and blue code is mine.
Is there a setting in VB.NET 2010 so I can see just my code and not designer code?
Have fun.
---- Andy