Using System. runtime. interopServices; // reference where to put it .... [DllImport ("dwmapi. dll ")] public static extern int dwmextendframeworkclientarea (IntPtr hWnd, ref MARGINS pMarinset); [StructLayout (LayoutKind. sequential)] public struct MARGINS {public int Right; public int left; public int Top; public int Bottom;} private void Form1_Load (object sender, EventArgs e) {this. backgroundImage = null; MARGINS marg Ins = new MARGINS (); margins. left =-1; margins. right =-1; margins. top =-1; margins. bottom =-1; IntPtr hwnd = Handle; int result = dwmexico tendframeworkclientarea (hwnd, ref margins); this. backColor = Color. black; this. label1.Text = "... "; This. label1.BackColor = Color. transparent; this. label1.ForeColor = Color. white;} using System. runtime. interopServices; // reference where to put it .... [DllImport ("dwmapi. dll ")] public static extern int dwmextendframeworkclientarea (IntPtr hWnd, ref MARGINS pMarinset); [StructLayout (LayoutKind. sequential)] public struct MARGINS {public int Right; public int left; public int Top; public int Bottom;} private void Form Upload load (object sender, EventArgs e) {this. backgroundImage = null; MARGINS margins = new MARGINS (); margins. left =-1; margins. right =-1; margins. top =-1; margins. bottom =-1; IntPtr hwnd = Handle; int result = dwmexico tendframeworkclientarea (hwnd, ref margins); this. backColor = Color. black; this. label1.Text = "... "; This. label1.BackColor = Color. Transparent; this. label1.ForeColor = Color. White ;}