C #: Glass Forms?

Comment puis-je utiliser le verre aero pour couvrir tous mes formulaires? Voici un exemple de ce que je veux dire:

entrer la description de l'image ici

    [StructLayout(LayoutKind.Sequential)] public struct MARGINS { public int Left; public int Right; public int Top; public int Bottom; } [DllImport("dwmapi.dll")] public static extern int DwmExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS pMargins); 

    Ensuite, vous pouvez l’activer sur votre formulaire comme suit:

     MARGINS marg = new MARGINS() { Left = -1, Right = -1, Top = -1, Bottom = -1 }; DwmExtendFrameIntoClientArea(form.Handle, marg);