Step 7Coding in C# (Windows)
Here are the steps:
Picture 1) Create a new project
Picture 2) Choose "Windows Form Application" & Name it what you want
Picture 3) This is what you should have
Picture 4) Find the button in the Toolbox
Picture 5) Get 2 buttons & drag them to the window
Picture 6) Left click on the first one. Under properties, go to title & rename it "On"
Picture 7) Rename the second button & resize the window
Picture 8) Select both of the buttons & double click them to create methods for them
Picture 9) Paste in the code attached below
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|




















































