/// <summary> /// Adds a handler on the Form that automatically paints the glass background black /// </summary> /// <param name="form">The form that will be controlled.</param> /// <param name="margins">Margins of the glass sheet.</param> public static void HandleBackgroundPainting(Form form, Margins margins) { HandleBackground tmpHandler = new HandleBackground(form, margins); }