I am converting an application from vb.net 2003 to 2005. I got the following warning and need help how to resolve it.
withEvents variable ‘PreviousPage’ conflicts with property ‘PreviousPage’ in the base class ‘Page’ and should be declared ‘Shadows’
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The base Page class has a property called PreviousPage.
Do you have a control on this form with that name (the “WithEvents variable” referred to in the error)? It is conflicting with the base class.