Hello,
I have 2 menu Items, a menu item has a parameter, another one have not.

I can read the parameter in Main method inside Class

However, although my variable is in the same class and defined in ClassDeclaration, the value in the dialog method is empty.

Dialog method opens another form, I want to make operations on the form according to the selected menuit, but I could not move the parameter on the menu item to the form.