I have two pages in a tab control, i wanted to restrict access to page to when check box is checked,please any one tell me how to do it in windows form application in c#.
Share
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.
So we have this event ‘Selecting’ in the tabControl
As MSDN docs states you could prevent the tabpage change in this event verifying the Checked property of you checkbox