This question is locked. New answers and comments are not allowed.
Hello,
I have a VB.NET Visual Studio 2008 project that has some older style Windows Forms where the auto generated designer code is in the same file as the developer's code. Is there a way to tell JustCode to ignore the code in the generated code region? An example of the region is at the end of this message. Thank you.
- Chris C
#Region " Windows Form Designer generated code " <-- Can JustCode ignore code in this region?
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.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
.....
End Sub
#EndRegion
I have a VB.NET Visual Studio 2008 project that has some older style Windows Forms where the auto generated designer code is in the same file as the developer's code. Is there a way to tell JustCode to ignore the code in the generated code region? An example of the region is at the end of this message. Thank you.
- Chris C
#Region " Windows Form Designer generated code " <-- Can JustCode ignore code in this region?
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.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
.....
End Sub
#EndRegion