G
Guest
Hi
I am creating a Windows Forms VB7 project. The Main Form is particularly complicated and I am currently using a form-level integer variable called 'FormMode' to control certain aspects of execution. What I would like to do is somehow make this variable into a class and then assign an event to its changing value. I would then be able to cut down on some of the code I have in the form by just using the change event handler I created. Could someone give me some guidance on this or point me to a good example please? Thanks
JT
I am creating a Windows Forms VB7 project. The Main Form is particularly complicated and I am currently using a form-level integer variable called 'FormMode' to control certain aspects of execution. What I would like to do is somehow make this variable into a class and then assign an event to its changing value. I would then be able to cut down on some of the code I have in the form by just using the change event handler I created. Could someone give me some guidance on this or point me to a good example please? Thanks
JT