Here are two options to get you started
Keep the start button as is, place the Stop button next to it. You can use the
property on each to decide which is displayed (the stop button should have this as false by default). You could alternatively use the
property, the disabled button will appear greyed out.
Just change the
property of the existing button as required. Remember to rename the button if you have called it
. Obviously you'll need to sort the extra logic to determine whether the button is Starting or Stopping. A quick hack approach would be to even use the button Text, though hopefully the rest of your code is well enough designed to make this unnecessary.
In response to OP's comment: Assuming the button is called
for example, in code you do the following:
btnStart.Visible = true;
As for hiding the Stop button, click on it in the designer window in Visual Studio. In the properties tab, find the "Visible" property in the list and set the value to false in that. If you are having problems finding the property tab, right click the button and choose "Properties", the tab is docked to the right on a default setup.