Si tu insère des données dans la fenêtre c'est donc que tu as son handle..
[ DllImport( "User32.dll" ) ]
private static extern IntPtr SendMessage( IntPtr hWnd, uint msg, UIntPtr wParam, IntPtr lParam );
private const int WM_SYSCOMMAND = 0x0112;
private const int SC_MINIMIZE = 0xF020;
private void MinimizeWindow( IntPtr hWnd )
{
SendMessage( hWnd, WM_SYSCOMMAND, ( UIntPtr )SC_MINIMIZE, IntPtr.Zero );
}