static void Main() { Application.Run(new Form1()); } [System.Runtime.InteropServices.DllImport("user32")] private static extern bool AnimateWindow(IntPtr hwnd,int dwTime, int dwFlags); const int AW_HOR_POSITIVE = 0x0001; const int AW_HOR_NEGATIVE = 0x0002; const int AW_VER_POSITIV