I am working on a Visual Studio 2005 C# project.
I have a user defined control, which is used by a form (note that they are in different .CS files, but in the same name space). There is DataGridView inside the user control, and I wanted to let an event handler of this DataGridView read a public variable member of the parent form. However, that variable is not recogonized in the event handler.
Does it mean that the scope of the parent form public variable does not include the event handlers of the user control?