Hi all,
I'm working through the book and am up to P190 (mid-way through the text editor app). Going well but one question.
The text says that a shortcut to opening the code editor is to right click on the form and select "View Code". This is fine, but I get a blank page code editor (without any of the class declaration stuff at the top). If I the section beginning
Code:
Public Property StatusText() as String....
to this page, I get an error when I run the project about not being in a namespace.
However, I can also get the code editor up by double clicking on one of the form controls. This brings up the editor but it has a few dozen lines of stuff in it that I'm not sure should be there or not. It starts off:
Code:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class TextEditor
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Anyone know what both scenarios mean (blank code editor from right click view code, and full code editor with partial class from double clicking a form control)?
Thanks v much in advance.
Simon