Try compiling the app in debug mode, the first error you'll get is Duplicate Sub btnaction_click, You have the line Sub btnAction_Click within your Globals Sub, remove that.
Compile again you get a stack empty error and an End Sub line is underlined in red!, this line shouldnot be here, and you should move the Dim Number1, Number2 As int to within the Globals Sub
The app will now compile. I haven't tested it properly as I do not have the Layout file, if you get more problems , please zip your project (file Export as Zip) and post it to the forum, it makes it easier to help.
Also, please post these type of questions in the "Questions" Forum.