Hey guys, need some GUI help again.

Getting error: Encode cannot be resolved to a type on Line no. 25

where am I doing wrong ?


Here is my code: