Call Methos Of Main Class in Dynamics ax

hi all

i send parm from Form to Class

I Should Use main(Args _args) Method to recive Method and i want to save send parameter in variable in classDeclaration

when i use variable that declare in classDeclaration , error OCCUR ( Variable XXXX has not been declared.)

i think this is declare Static.

plz help me to save send parameters in variable of classDeclaration.

thanks all