5 references to OpacityAsByte
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (5)
1579
if (
OpacityAsByte
< 255)
2098
_formState[s_formStateLayered] = (
OpacityAsByte
< 255) ? 1 : 0;
6139
result = PInvoke.SetLayeredWindowAttributes(this, (COLORREF)0,
OpacityAsByte
, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA);
6141
else if (
OpacityAsByte
== 255)
6148
result = PInvoke.SetLayeredWindowAttributes(this, (COLORREF)transparencyKey,
OpacityAsByte
, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA | LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_COLORKEY);