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