internal void OnTabbedThumbnailActivated()
{
if (TabbedThumbnailActivated != null)
{
TabbedThumbnailActivated(this, GetTabbedThumbnailEventArgs());
}
else
{
// No one is listening to these events.
// Forward the message to the main window
CoreNativeMethods.SendMessage(ParentWindowHandle, WindowMessage.ActivateApplication, new IntPtr(1), new IntPtr(Thread.CurrentThread.GetHashCode()));
}
}