Email checker and currency convert
this code is used to check if the user has entered a valid email this is done by the if statement detecting @ and having a certain length to verify if it is a correct email. The ValidBT_Click is the name of the button so the code will relate to the button. The use of FoundAT works as the detection and reaction if @ is not detected within the code. (messagebox.show("email valid");} is used to present the sentence Email Valid as message box is basically a text box. This is the currency converter the // means it is a comment as this is two sets of code the top one is a more messy and long winded way of making a converter however the one bellow uses switch case to shorten the needed code and still functions the same as if it was to use the top code. The use of GBP is a variable that is used throughout as the main currency to be converted to what ever the currency is set to so in this case it can be YEN/USD/CAD/EUR.