I need to access the main window variables in a Dialog base app, from a child dialog. Can I access them directly or i need to create another variable and transfer its content?

Anyone could help me? Thanks in advance.