Right-click in layout 2's event sheet, select "Include event sheet"
Then click on the include bar and pick the sheet for layout 1.
If you are going to be reusing your ini code over and over again, then you might want to make it in it's own event sheet. You can add "loose" event sheets in the project bar by right-clicking and selecting "Add new" on the event sheets icon. Then you can double-click them to edit them, and add them to any layout by including them, etc.
Oh, and to rename your event sheets you can click on the name twice, slowly. Same with anything else in the project tree.