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