Transferring data between functions
i have three PictureBoxes, background1,background2 and background3.firstly i initialise a var x=1.when the user clicks the PictureBoxes, it calls a function that changes the value of x.but when i use this var in another function, it remains as its original value.so how do i get the new value of x across to this other function?
|