User is on screen A,
User clicks button on screen A
on button tab event i show loading gif.
i make some calculation and dynamically create screen B.
now when the whole of screen B is rendered i want to hide the loding gif

on screen B i tried many of the events like painted, show, etc... but all gets fired before the screen gets rendered. my loading gif disappears and after a delay screen B gets rendered.