How dont use variables?

Every time i have a Button event, and o wish set a valeu to a title field i only know doing This using variables.

Has another way to do that, without need every time create a variables?