im getting this error messages "end of statement expected"

Public Class Form1 Inherits System.Windows.Forms.Form

that is what is causing it

Please help me fix it

thanks

Adam

Public Class Form1
Inherits System.Windows.Forms.Form

the Inherits statement have to be in a new line or delimited by a :
so either
Public Class Form1 : Inherits System.Windows.Forms.Form

or

Public Class Form1
Inherits System.Windows.Forms.Form

The Intellisense should be putting a wavy line under where your syntax is wrong or may lead to issues