Sub btn_onoff_Click
Dim Send As ToggleButton
Dim tmpStatus As String
Send = Sender' sets the button that raised the event to Send
Select Case Send.Checked
Case True
ToastMessageShow(Send.Tag &" Set to ON :",False)
Case False
ToastMessageShow(Send.Tag &" Set to OFF :",False)
End Select
End Sub