5 references to OpacityAsByte
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (5)
1575if (OpacityAsByte < 255) 2097_formState[s_formStateLayered] = (OpacityAsByte < 255) ? 1 : 0; 6147result = PInvoke.SetLayeredWindowAttributes(this, (COLORREF)0, OpacityAsByte, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA); 6149else if (OpacityAsByte == 255) 6156result = PInvoke.SetLayeredWindowAttributes(this, (COLORREF)transparencyKey, OpacityAsByte, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA | LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_COLORKEY);