5 references to OpacityAsByte
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (5)
1582
if (
OpacityAsByte
< 255)
2020
_formState[s_formStateLayered] = (
OpacityAsByte
< 255) ? 1 : 0;
6048
result = PInvoke.SetLayeredWindowAttributes(this, (COLORREF)0,
OpacityAsByte
, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA);
6050
else if (
OpacityAsByte
== 255)
6057
result = PInvoke.SetLayeredWindowAttributes(this, (COLORREF)transparencyKey,
OpacityAsByte
, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA | LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_COLORKEY);