Just add the code to the button click events. Double click on the buttons in the designer and type in your code.
There are a number of YouTube video showing how to use the designer to add code to events.
https://www.youtube.com/watch?v=BAi81bOjYlQ&t=110s
Style Windows.Forms.Button
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Style Windows.Forms.Button
Also review these videos: https://www.youtube.com/playlist?list=F ... lA65FiM7Ng
Re: Style Windows.Forms.Button
Thanks that help after I look at that.
Is there somewhere I can change the settings so I can see all Form code.
And not just part off it when I click labels, textboxes in forms and so on.
Right now it will unly show the minimum when click on elements, and hide the rest in the gui designer.
All the style is missing visual in script editor menu, when using the designer to change things like color, left, rigth, background etc.
Is there somewhere I can change the settings so I can see all Form code.
And not just part off it when I click labels, textboxes in forms and so on.
Right now it will unly show the minimum when click on elements, and hide the rest in the gui designer.
All the style is missing visual in script editor menu, when using the designer to change things like color, left, rigth, background etc.
Re: Style Windows.Forms.Button
What code are you not seeing? All event code is showing. You cannot and should not edit the initialization code. The IDE manages that ode as needed.
Open the manual for the product and read how the product works and how to use it. The manual will answer most of your questions.
If you want to look at the final code then export it to a file and open the file.
Open the manual for the product and read how the product works and how to use it. The manual will answer most of your questions.
If you want to look at the final code then export it to a file and open the file.