string input = Microsoft.VisualBasic.Interaction.InputBox("To change your email, enter it below. The current email on file is " + ParseUser.CurrentUser.Email, "Change Email", "New Email", -1, -1);
Given the above code, how can I check if the cancel button or OK button is pressed? If the user presses OK, I want to run a method. If they press cancel, then I wouldn't run the method.
Checking if the string is 0 characters long won't do because even if the user starts typing and presses cancel, I still don't want the method to run.