Errods
Well-known member
- Joined
- Dec 17, 2007
- Messages
- 71
- Location
- Kundapur, Karnataka, Udupi, India.
- Programming Experience
- 1-3
Can user parameters can be passes to Events such as Form_Load..........
I have a form where the user inputs a integer and in the next form i want a loop to repete until the count is equall to the integer passed in the previus form.
Can i pass the Integer variable like this.....
form2.Show(i) and the form2_Load event can be something like.......
Private sub form2_Load(byval i as integer .....................)handles.............
Can this be done????? Is this way Correct????? Or is there some otheer way...........????????????
Just want to reduce the use of Variables with Global Scope even Friend Variables............
Thanks for any Help
I have a form where the user inputs a integer and in the next form i want a loop to repete until the count is equall to the integer passed in the previus form.
Can i pass the Integer variable like this.....
form2.Show(i) and the form2_Load event can be something like.......
Private sub form2_Load(byval i as integer .....................)handles.............
Can this be done????? Is this way Correct????? Or is there some otheer way...........????????????
Just want to reduce the use of Variables with Global Scope even Friend Variables............
Thanks for any Help