14 references to FormStateLayered
System.Windows.Forms (14)
winforms\Managed\System\WinForms\Form.cs (14)
88
private static readonly BitVector32.Section FormStateMaximizeBox = BitVector32.CreateSection(1,
FormStateLayered
);
283
Debug.Assert(formState[
FormStateLayered
] == 0, "Failed to set formState[FormStateLayered]");
531
formState[
FormStateLayered
] = formState[FormStateAllowTransparency];
1008
if (TopLevel && (formState[
FormStateLayered
] != 0)) {
2089
bool oldLayered = (formState[
FormStateLayered
] != 0);
2094
if (formState[
FormStateLayered
] != 1) {
2095
formState[
FormStateLayered
] = 1;
2102
formState[
FormStateLayered
] = (this.TransparencyKey != Color.Empty) ? 1 : 0;
2103
if (oldLayered != (formState[
FormStateLayered
] != 0)) {
2609
bool oldLayered = (formState[
FormStateLayered
] == 1);
2614
formState[
FormStateLayered
] = 1;
2618
formState[
FormStateLayered
] = (this.OpacityAsByte < 255) ? 1 : 0;
2620
if (oldLayered != (formState[
FormStateLayered
] != 0))
6451
if ((formState[
FormStateLayered
] != 0) && IsHandleCreated && TopLevel && OSFeature.Feature.IsPresent(OSFeature.LayeredWindows)) {