R
Rob Panosh
Hello,
If I create a font on my inherited form (sample code below) do I have
to "Dispose" this font.
Thanks,
Rob
Class MyTest
Inherits System.Windows.Forms.Form
Private _font as As System.Drawing.Font
Public Sub New()
Me.InitializeComponent()
Me._font = New System.Drawing.Font(Me.Font.FontFamily, 10,
Drawing.FontStyle.Bold)
End Sub
End Class
If I create a font on my inherited form (sample code below) do I have
to "Dispose" this font.
Thanks,
Rob
Class MyTest
Inherits System.Windows.Forms.Form
Private _font as As System.Drawing.Font
Public Sub New()
Me.InitializeComponent()
Me._font = New System.Drawing.Font(Me.Font.FontFamily, 10,
Drawing.FontStyle.Bold)
End Sub
End Class