In order to accomplish this, you’ll add some following code to the Click() event of Button1.