Object handle/function expected

You have attempted to access an instance of a class within a static method using the this initializer or the parent initializer, or you are accessing an instance member of the class (including nonstatic methods, nonstatic instance fields, or nonstatic properties) without using an instance variable.