I’m making a jungle timer for League of Legends, where I will make buttons you can click or you can start by a hotkey.
The button will be a picture of the specific jungle camp, and when the press/start it, it will start a timer, which will count down to when the jungle camp spawns again. When you press this button, it will change the design of the button to make the picture blurry and add a timer above it, that you can see.
My question is how do you change the design of the button, when you press it, like I explained?
Keep in mind that I am very new to programming, and that this is one of my first programs.
In the visual designer, look at the button’s properties. Any property can be referenced in the code with:
eg.
Embedded resources, such as images, can be added in the project’s properties.
As for the progress timer, I’d suggest adding a separate control above the button, or utilise the button’s Paint method and paint a couple of rectangles on the button to make a small progress bar.