internal void OnTabbedThumbnailMinimized()
{
if (TabbedThumbnailMinimized != null)
{
TabbedThumbnailMinimized(this, GetTabbedThumbnailEventArgs());
}
else
{
// No one is listening to these events.
// Forward the message to the main window
CoreNativeMethods.SendMessage(ParentWindowHandle, WindowMessage.SystemCommand, new IntPtr(TabbedThumbnailNativeMethods.ScMinimize), IntPtr.Zero);
}
}