BunifuToggleSwitch2in your Visual Studio toolbox, and dragging it to the form as demonstrated below. You can quickly customize the control using its properties in the smart tag. Later in this documentation, we will get into deeper detail about its features.
BunifuToggleSwitch2and add it to the form as shown in the codes below:
CheckedChangedevent fires whenever the toggle state changes. Here's a code snippet that changes the label text whenever the state changes.