I've just found the solution. It seems that we must load the layout in the constructor of the form, not in the Load event.
Dess | Tech Support Engineer, Principal
answered on 19 Feb 2018, 10:23 AM
Thank you for writing.
I am glad that you have found a suitable solution for your case. If you have any further questions or experience any difficulties, feel free to submit a ticket in our support ticketing system as this is the best way to reach our support staff. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.