/// <summary> /// Updates the glass. /// </summary> /// <param name="drawingPointer">The drawing handle.</param> /// <param name="margs">The margins.</param> public void UpdateGlass(IntPtr drawingPointer, Margins margs) { if (DesignMode) { return; } if (!margs.IsEmpty && Natives.CanUseAero) { Natives.ExtendGlass(drawingPointer, margs); } }