problem creating a function
-
Hello!! I want to create a function in which i need for example click some button and obtain a value, then click somewhere in the win form and obtain a x, y value and finally click other button and make some math operations, so the function that i want must wait until i click the appropriate button or area in the win form, if i don't follow the right order the function must do nothing until i click the elements in the right order. Somebody knows how can i do this?:confused: Thanks, Alberto Martinez
-
Hello!! I want to create a function in which i need for example click some button and obtain a value, then click somewhere in the win form and obtain a x, y value and finally click other button and make some math operations, so the function that i want must wait until i click the appropriate button or area in the win form, if i don't follow the right order the function must do nothing until i click the elements in the right order. Somebody knows how can i do this?:confused: Thanks, Alberto Martinez
Have you considered using something like the State Pattern[^]? ColinMackay.net Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?