Hi Tommy,
Welcome on the board.
You have created a form with designer and saved it.
When returned to the IDE do as follows.
I have 1 form with two buttons, StartButton and EndButton.
On the bottom of the IDE you will see a toolbar,
- Outlet.png (8.81 KiB) Viewed 1343 times
Select first EndButton and do this again for EndButton.
Now the Outlets are created by Q7B.
The second thing to do is create the signals,
- Signal.png (8.35 KiB) Viewed 1343 times
Select one of the two buttons,
- What kind of Signal.png (8.09 KiB) Viewed 1343 times
For now click 'clicked(Checked as Boolean)
Do the same for the other button.
After this Q7B will have created this code,
- Created by Q7B.png (9.31 KiB) Viewed 1343 times
Between the Signal and the End Signal you can place your code.
Hope it will help.