N
nsikkandar
I created a Child Form and added several controls. One of the control
is GroupBox1. When I want to change the access modifier property of the
GroupBox1
FROM
"Public WithEvents GroupBox3 As System.Windows.Forms.GroupBox"
TO
"Public Shared WithEvents GroupBox3 As System.Windows.Forms.GroupBox"
Note down "Shared" added....
When i am executing, it did not produce any error.
When I go back to design window, it produced following error
D:\DOTNET\vbnet\Part2\Form2.vb(621): The variable 'GroupBox1' is either
undeclared or was never assigned.
I donot understand this error.
Kindly let me know how to fix it.
Many thanks in advance
is GroupBox1. When I want to change the access modifier property of the
GroupBox1
FROM
"Public WithEvents GroupBox3 As System.Windows.Forms.GroupBox"
TO
"Public Shared WithEvents GroupBox3 As System.Windows.Forms.GroupBox"
Note down "Shared" added....
When i am executing, it did not produce any error.
When I go back to design window, it produced following error
D:\DOTNET\vbnet\Part2\Form2.vb(621): The variable 'GroupBox1' is either
undeclared or was never assigned.
I donot understand this error.
Kindly let me know how to fix it.
Many thanks in advance