static void InvokeLoadedHook (IntPtr fwe_ptr)
{
try {
FrameworkElement element = (FrameworkElement) NativeDependencyObjectHelper.FromIntPtr (fwe_ptr);
element.InvokeLoaded ();
} catch (Exception ex) {
try {
Console.WriteLine ("Moonlight: Unhandled exception in FrameworkElement.InvokeLoaded: {0}", ex);
} catch {
// Ignore
}
}
}