Windows Aero: What color to paint to make “glass” appear?

Color fillColor = Color.FromArgb(0, 0, 0, 0); //(a, r, g, b)
e.Graphics.FillRectangle(new SolidBrush(fillColor), e.ClipRectangle);

This is actually rather amusing. It means that you are drawing something completely transparent – so this changes absolutely nothing! 🙂

Guess: if black (0,0,0) should mean “glass”, how about drawing (1,1,1) to get (almost) black?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)