164 writes to
PresentationBuildTasks (22)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (22)
903_flags[_pinnedFlagSection] = value; 1321_flags[_assemblyIdLowSection] = (short) (value & 0xff); 1322_flags[_assemblyIdHighSection] = (short) ((value & 0xff00) >> 8); 1571_flags[_sharedSection] = value ? 1 : 0; 1585_flags[_sharedSetSection] = value ? 1 : 0; 1738_flags[_sharedSection] = value ? 1 : 0; 1752_flags[_sharedSetSection] = value ? 1 : 0; 2413set { _flags[_isValueTypeExtensionSection] = value ? 1 : 0; } 2420set { _flags[_isValueStaticExtensionSection] = value ? 1 : 0; } 3248_flags[_typeIdLowSection] = (short) (value & 0xff); 3249_flags[_typeIdHighSection] = (short) ((value & 0xff00) >> 8); 3263_flags[_useTypeConverter] = value ? 1 : 0; 3277_flags[_isInjected] = value ? 1 : 0; 3645set { _flags[_isValueTypeExtensionSection] = value ? 1 : 0; } 3652set { _flags[_isValueStaticExtensionSection] = value ? 1 : 0; } 4205_flags[_assemblyIdLowSection] = (short) (value & 0xff); 4206_flags[_assemblyIdHighSection] = (short) ((value & 0xff00) >> 8); 4333_flags[_typeIdLowSection] = (short) (value & 0xff); 4334_flags[_typeIdHighSection] = (short) ((value & 0xff00) >> 8); 4901_flags[_attributeUsageSection] = (int) value; 5007_flags[_stringIdLowSection] = (short) (value & 0xff); 5008_flags[_stringIdHighSection] = (short) ((value & 0xff00) >> 8);
PresentationFramework (26)
System\Windows\Markup\BamlRecords.cs (26)
903_flags[_pinnedFlagSection] = value; 1321_flags[_assemblyIdLowSection] = (short) (value & 0xff); 1322_flags[_assemblyIdHighSection] = (short) ((value & 0xff00) >> 8); 1571_flags[_sharedSection] = value ? 1 : 0; 1585_flags[_sharedSetSection] = value ? 1 : 0; 1738_flags[_sharedSection] = value ? 1 : 0; 1752_flags[_sharedSetSection] = value ? 1 : 0; 2413set { _flags[_isValueTypeExtensionSection] = value ? 1 : 0; } 2420set { _flags[_isValueStaticExtensionSection] = value ? 1 : 0; } 2853set { _flags[_isValueSetSection] = value ? 1 : 0; } 2859set { _flags[_isValueTypeIdSection] = value ? 1 : 0; } 2867set { _flags[_isRawEnumValueSetSection] = value ? 1 : 0; } 3248_flags[_typeIdLowSection] = (short) (value & 0xff); 3249_flags[_typeIdHighSection] = (short) ((value & 0xff00) >> 8); 3263_flags[_useTypeConverter] = value ? 1 : 0; 3277_flags[_isInjected] = value ? 1 : 0; 3645set { _flags[_isValueTypeExtensionSection] = value ? 1 : 0; } 3652set { _flags[_isValueStaticExtensionSection] = value ? 1 : 0; } 4205_flags[_assemblyIdLowSection] = (short) (value & 0xff); 4206_flags[_assemblyIdHighSection] = (short) ((value & 0xff00) >> 8); 4333_flags[_typeIdLowSection] = (short) (value & 0xff); 4334_flags[_typeIdHighSection] = (short) ((value & 0xff00) >> 8); 4885_flags[_isInternalSection] = value ? 1 : 0; 4901_flags[_attributeUsageSection] = (int) value; 5007_flags[_stringIdLowSection] = (short) (value & 0xff); 5008_flags[_stringIdHighSection] = (short) ((value & 0xff00) >> 8);
System.Windows.Forms (116)
System\Windows\Forms\Controls\Labels\Label.cs (9)
79_labelState[s_stateFlatStyle] = (int)FlatStyle.Standard; 80_labelState[s_stateUseMnemonic] = 1; 81_labelState[s_stateBorderStyle] = (int)BorderStyle.None; 141_labelState[s_stateAutoEllipsis] = value ? 1 : 0; 217_labelState[s_stateBorderStyle] = (int)value; 336_labelState[s_stateFlatStyle] = (int)value; 781_labelState[s_stateUseMnemonic] = value ? 1 : 0; 862_labelState[s_stateAnimating] = animate ? 1 : 0; 867_labelState[s_stateAnimating] = animate ? 1 : 0;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (6)
669_state[s_stateImageMaskSet] = (value == ImageList.Indexer.DefaultIndex ? 0 : 1); 672_state[s_savedStateImageIndexSection] = value + 1; 740_state[s_stateImageMaskSet] = (value == ImageList.Indexer.DefaultIndex ? 0 : 1); 757set => _state[s_stateSelectedSection] = value ? 1 : 0; 766set => _state[s_subItemCountSection] = value; 859set => _state[s_stateWholeRowOneStyleSection] = value ? 1 : 0;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (14)
101_richTextBoxFlags[s_autoWordSelectionSection] = 0; // This is false by default 122_richTextBoxFlags[s_allowOleDropSection] = value ? 1 : 0; 132_richTextBoxFlags[s_allowOleObjectsSection] = value ? 1 : 0; 166_richTextBoxFlags[s_autoWordSelectionSection] = value ? 1 : 0; 239set => _richTextBoxFlags[s_callOnContentsResizedSection] = value ? 1 : 0; 369_richTextBoxFlags[s_autoUrlDetectSection] = value ? 1 : 0; 393_richTextBoxFlags[s_enableAutoDragDropSection] = value ? 1 : 0; 487set => _richTextBoxFlags[s_fInCtorSection] = value ? 1 : 0; 518set => _richTextBoxFlags[s_linkcursorSection] = value ? 1 : 0; 538set => _richTextBoxFlags[s_protectedErrorSection] = value ? 1 : 0; 582_richTextBoxFlags[s_richTextShortcutsEnabledSection] = value ? 1 : 0; 682_richTextBoxFlags[s_scrollBarsSection] = (int)value; 1326_richTextBoxFlags[s_showSelBarSection] = value ? 1 : 0; 1405_richTextBoxFlags[s_suppressTextChangedEventSection] = value ? 1 : 0;
System\Windows\Forms\Form.cs (79)
208_formStateEx[s_formStateExShowIcon] = 1; 259_formState[s_formStateIsActive] = value ? 1 : 0; 263_formState[s_formStateIsWindowActivated] = 1; 281_formState[s_formStateIsWindowActivated] = 0; 365_formState[s_formStateAllowTransparency] = value ? 1 : 0; 367_formState[s_formStateLayered] = _formState[s_formStateAllowTransparency]; 404_formStateEx[s_formStateExSettingAutoScale] = 1; 409_formState[s_formStateAutoScaling] = 1; 418_formState[s_formStateAutoScaling] = 0; 423_formStateEx[s_formStateExSettingAutoScale] = 0; 499_formStateEx[s_formStateExAutoSize] = value ? 1 : 0; 612_formStateEx[s_formStateExCalledClosing] = (value ? 1 : 0); 624_formStateEx[s_formStateExCalledCreateControl] = (value ? 1 : 0); 636_formStateEx[s_formStateExCalledMakeVisible] = (value ? 1 : 0); 648_formStateEx[s_formStateExCalledOnLoad] = (value ? 1 : 0); 666_formState[s_formStateBorderStyle] = (int)value; 701_formStateEx[s_formStateExWindowBoundsWidthIsClientSize] = preWindowBoundsWidthIsClientSize; 702_formStateEx[s_formStateExWindowBoundsHeightIsClientSize] = preWindowBoundsHeightIsClientSize; 749_formState[s_formStateControlBox] = value ? 1 : 0; 810_formState[s_formStateWindowState] = (int)FormWindowState.Maximized; 832_formState[s_formStateShowWindowOnCreate] = 1; 837_formState[s_formStateShowWindowOnCreate] = 0; 975_formState[s_formStateHelpButton] = 1; 979_formState[s_formStateHelpButton] = 0; 1026_formState[s_formStateIconSet] = value is null ? 0 : 1; 1048_formStateEx[s_formStateExWindowClosing] = value ? 1 : 0; 1141set => _formState[s_formStateKeyPreview] = value ? 1 : 0; 1398_formState[s_formStateMaximizeBox] = value ? 1 : 0; 1546_formState[s_formStateMinimizeBox] = value ? 1 : 0; 1584_formState[s_formStateLayered] = 1; 1593_formState[s_formStateLayered] = (TransparencyKey != Color.Empty) ? 1 : 0; 1820_formState[s_formStateTaskBar] = value ? 1 : 0; 1843_formStateEx[s_formStateExShowIcon] = value ? 1 : 0; 1936_formState[s_formStateSizeGripStyle] = (int)value; 1960_formState[s_formStateStartPos] = (int)value; 2076_formState[s_formStateTopMost] = value ? 1 : 0; 2097_formState[s_formStateLayered] = 1; 2101_formState[s_formStateLayered] = (OpacityAsByte < 255) ? 1 : 0; 2579_formState[s_formStateWindowState] = (int)value; 3094_formState[s_formStateSetClientSize] = 0; 3382_formState[s_formStateWindowState] = (int)FormWindowState.Normal; 3383_formState[s_formStateMdiChildMax] = 1; 3385_formState[s_formStateWindowState] = (int)FormWindowState.Maximized; 3386_formState[s_formStateMdiChildMax] = 0; 4206_formStateEx[s_formStateExUseMdiChildProc] = (IsMdiChild && Visible) ? 1 : 0; 4246_formStateEx[s_formStateExUseMdiChildProc] = 0; 4306_formState[s_formStateAutoScaling] = 0; 4731_formState[s_formStateIsTextEmpty] = newTextEmpty; 4845_formStateEx[s_formStateExMnemonicProcessed] = 1; 4852_formStateEx[s_formStateExMnemonicProcessed] = 0; 5095_formState[s_formStateIconSet] = 0; 5162_formStateEx[s_formStateExWindowBoundsHeightIsClientSize] = 0; 5163_formStateEx[s_formStateExWindowBoundsWidthIsClientSize] = 0; 5180_formStateEx[s_formStateExUpdateMenuHandlesSuspendCount] = --suspendCount; 5292_formStateEx[s_formStateExInScale] = 1; 5305_formStateEx[s_formStateExInScale] = 0; 5336_formStateEx[s_formStateExWindowBoundsWidthIsClientSize] = 0; 5342_formStateEx[s_formStateExWindowBoundsHeightIsClientSize] = 0; 5458_formState[s_formStateSetClientSize] = 1; 6093_formStateEx[s_formStateExUpdateMenuHandlesSuspendCount] = ++suspendCount; 6119_formState[s_formStateRenderSizeGrip] = 0; 6126_formState[s_formStateRenderSizeGrip] = 1; 6129_formState[s_formStateRenderSizeGrip] = 0; 6134_formState[s_formStateRenderSizeGrip] = 1; 6138_formState[s_formStateRenderSizeGrip] = 0; 6305_formStateEx[s_formStateExUpdateMenuHandlesDeferred] = 0; 6389_formStateEx[s_formStateExInUpdateMdiControlStrip] = 1; 6442_formStateEx[s_formStateExInUpdateMdiControlStrip] = 0; 6598_formState[s_formStateWindowState] = (int)FormWindowState.Normal; 6605_formState[s_formStateWindowState] = (int)FormWindowState.Maximized; 6614_formState[s_formStateWindowState] = (int)FormWindowState.Minimized; 6635_formStateEx[s_formStateExWindowBoundsWidthIsClientSize] = 1; 6636_formStateEx[s_formStateExWindowBoundsHeightIsClientSize] = 1; 6708_formStateEx[s_formStateExInModalSizingLoop] = 1; 6717_formStateEx[s_formStateExInModalSizingLoop] = 0; 6879_formStateEx[s_formStateExInCloseEventDispatch] = 1; 6929_formStateEx[s_formStateExInCloseEventDispatch] = previousCloseEventDispatch; 7148_formState[s_formStateSWCalled] = 1; 7180_formStateEx[s_formStateExInModalSizingLoop] = 1;
System\Windows\Forms\Layout\CommonProperties.cs (8)
170state[s_autoSizeSection] = value ? 1 : 0; 487state[s_autoSizeModeSection] = mode == AutoSizeMode.GrowAndShrink ? 1 : 0; 522state[s_selfAutoSizingSection] = value ? 1 : 0; 594state[s_dockAndAnchorSection] = (int)xTranslateAnchorValue(value); 595state[s_dockModeSection] = (int)DockAnchorMode.Anchor; 613state[s_dockAndAnchorSection] = (int)value; // See xTranslateAnchorValue for why this works with Dock.None. 614state[s_dockModeSection] = (int)(value == DockStyle.None ? DockAnchorMode.Anchor : DockAnchorMode.Dock); 655state[s_flowBreakSection] = value ? 1 : 0;
190 references to
PresentationBuildTasks (22)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (22)
897return _flags[_pinnedFlagSection]; 1313short value = (short) _flags[_assemblyIdLowSection]; 1314value |= (short) (_flags[_assemblyIdHighSection] << 8); 1566return _flags[_sharedSection] == 1 ? true : false; 1580return _flags[_sharedSetSection] == 1 ? true : false; 1733return _flags[_sharedSection] == 1 ? true : false; 1747return _flags[_sharedSetSection] == 1 ? true : false; 2412get { return _flags[_isValueTypeExtensionSection] == 1 ? true : false; } 2419get { return _flags[_isValueStaticExtensionSection] == 1 ? true : false; } 3240short value = (short) _flags[_typeIdLowSection]; 3241value |= (short) (_flags[_typeIdHighSection] << 8); 3258return _flags[_useTypeConverter] == 1 ? true : false; 3272return _flags[_isInjected] == 1 ? true : false; 3644get { return _flags[_isValueTypeExtensionSection] == 1 ? true : false; } 3651get { return _flags[_isValueStaticExtensionSection] == 1 ? true : false; } 4197short value = (short) _flags[_assemblyIdLowSection]; 4198value |= (short) (_flags[_assemblyIdHighSection] << 8); 4325short value = (short) _flags[_typeIdLowSection]; 4326value |= (short) (_flags[_typeIdHighSection] << 8); 4896return (BamlAttributeUsage) _flags[_attributeUsageSection]; 4999short value = (short) _flags[_stringIdLowSection]; 5000value |= (short) (_flags[_stringIdHighSection] << 8);
PresentationFramework (26)
System\Windows\Markup\BamlRecords.cs (26)
897return _flags[_pinnedFlagSection]; 1313short value = (short) _flags[_assemblyIdLowSection]; 1314value |= (short) (_flags[_assemblyIdHighSection] << 8); 1566return _flags[_sharedSection] == 1 ? true : false; 1580return _flags[_sharedSetSection] == 1 ? true : false; 1733return _flags[_sharedSection] == 1 ? true : false; 1747return _flags[_sharedSetSection] == 1 ? true : false; 2412get { return _flags[_isValueTypeExtensionSection] == 1 ? true : false; } 2419get { return _flags[_isValueStaticExtensionSection] == 1 ? true : false; } 2852get { return _flags[_isValueSetSection] == 1 ? true : false; } 2858get { return _flags[_isValueTypeIdSection] == 1 ? true : false; } 2866get { return _flags[_isRawEnumValueSetSection] == 1 ? true : false; } 3240short value = (short) _flags[_typeIdLowSection]; 3241value |= (short) (_flags[_typeIdHighSection] << 8); 3258return _flags[_useTypeConverter] == 1 ? true : false; 3272return _flags[_isInjected] == 1 ? true : false; 3644get { return _flags[_isValueTypeExtensionSection] == 1 ? true : false; } 3651get { return _flags[_isValueStaticExtensionSection] == 1 ? true : false; } 4197short value = (short) _flags[_assemblyIdLowSection]; 4198value |= (short) (_flags[_assemblyIdHighSection] << 8); 4325short value = (short) _flags[_typeIdLowSection]; 4326value |= (short) (_flags[_typeIdHighSection] << 8); 4880return _flags[_isInternalSection] == 1 ? true : false; 4896return (BamlAttributeUsage) _flags[_attributeUsageSection]; 4999short value = (short) _flags[_stringIdLowSection]; 5000value |= (short) (_flags[_stringIdHighSection] << 8);
System.Windows.Forms (142)
System\Windows\Forms\Controls\Labels\Label.cs (7)
133get => _labelState[s_stateAutoEllipsis] != 0; 210get => (BorderStyle)_labelState[s_stateBorderStyle]; 323get => (FlatStyle)_labelState[s_stateFlatStyle]; 329if (_labelState[s_stateFlatStyle] == (int)value) 334bool needRecreate = (_labelState[s_stateFlatStyle] == (int)FlatStyle.System) || (value == FlatStyle.System); 773get => _labelState[s_stateUseMnemonic] != 0; 853bool currentlyAnimating = _labelState[s_stateAnimating] != 0;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (5)
664return _state[s_savedStateImageIndexSection] - 1; 749internal bool StateImageSet => (_state[s_stateImageMaskSet] != 0); 756get => _state[s_stateSelectedSection] == 1; 765get => _state[s_subItemCountSection]; 858get => _state[s_stateWholeRowOneStyleSection] == 1;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (13)
119get => _richTextBoxFlags[s_allowOleDropSection] != 0; 129get => _richTextBoxFlags[s_allowOleObjectsSection] != 0; 163get => _richTextBoxFlags[s_autoWordSelectionSection] != 0; 238get => _richTextBoxFlags[s_callOnContentsResizedSection] != 0; 364get => _richTextBoxFlags[s_autoUrlDetectSection] != 0; 390get => _richTextBoxFlags[s_enableAutoDragDropSection] != 0; 486get => _richTextBoxFlags[s_fInCtorSection] != 0; 517get => _richTextBoxFlags[s_linkcursorSection] != 0; 537get => _richTextBoxFlags[s_protectedErrorSection] != 0; 577get => _richTextBoxFlags[s_richTextShortcutsEnabledSection] != 0; 673get => (RichTextBoxScrollBars)_richTextBoxFlags[s_scrollBarsSection]; 1321get { return _richTextBoxFlags[s_showSelBarSection] != 0; } 1399get { return _richTextBoxFlags[s_suppressTextChangedEventSection] != 0; }
System\Windows\Forms\Form.cs (102)
184Debug.Assert(_formState[s_formStateAllowTransparency] == 0, "Failed to set formState[FormStateAllowTransparency]"); 185Debug.Assert(_formState[s_formStateBorderStyle] == (int)FormBorderStyle.Sizable, "Failed to set formState[FormStateBorderStyle]"); 186Debug.Assert(_formState[s_formStateTaskBar] == 1, "Failed to set formState[FormStateTaskBar]"); 187Debug.Assert(_formState[s_formStateControlBox] == 1, "Failed to set formState[FormStateControlBox]"); 188Debug.Assert(_formState[s_formStateKeyPreview] == 0, "Failed to set formState[FormStateKeyPreview]"); 189Debug.Assert(_formState[s_formStateLayered] == 0, "Failed to set formState[FormStateLayered]"); 190Debug.Assert(_formState[s_formStateMaximizeBox] == 1, "Failed to set formState[FormStateMaximizeBox]"); 191Debug.Assert(_formState[s_formStateMinimizeBox] == 1, "Failed to set formState[FormStateMinimizeBox]"); 192Debug.Assert(_formState[s_formStateHelpButton] == 0, "Failed to set formState[FormStateHelpButton]"); 193Debug.Assert(_formState[s_formStateStartPos] == (int)FormStartPosition.WindowsDefaultLocation, "Failed to set formState[FormStateStartPos]"); 194Debug.Assert(_formState[s_formStateWindowState] == (int)FormWindowState.Normal, "Failed to set formState[FormStateWindowState]"); 195Debug.Assert(_formState[s_formStateShowWindowOnCreate] == 0, "Failed to set formState[FormStateShowWindowOnCreate]"); 196Debug.Assert(_formState[s_formStateAutoScaling] == 1, "Failed to set formState[FormStateAutoScaling]"); 197Debug.Assert(_formState[s_formStateSetClientSize] == 0, "Failed to set formState[FormStateSetClientSize]"); 198Debug.Assert(_formState[s_formStateTopMost] == 0, "Failed to set formState[FormStateTopMost]"); 199Debug.Assert(_formState[s_formStateSWCalled] == 0, "Failed to set formState[FormStateSWCalled]"); 200Debug.Assert(_formState[s_formStateMdiChildMax] == 0, "Failed to set formState[FormStateMdiChildMax]"); 201Debug.Assert(_formState[s_formStateRenderSizeGrip] == 0, "Failed to set formState[FormStateRenderSizeGrip]"); 202Debug.Assert(_formState[s_formStateSizeGripStyle] == 0, "Failed to set formState[FormStateSizeGripStyle]"); 203Debug.Assert(_formState[s_formStateIsWindowActivated] == 0, "Failed to set formState[FormStateIsWindowActivated]"); 204Debug.Assert(_formState[s_formStateIsTextEmpty] == 0, "Failed to set formState[FormStateIsTextEmpty]"); 205Debug.Assert(_formState[s_formStateIsActive] == 0, "Failed to set formState[FormStateIsActive]"); 206Debug.Assert(_formState[s_formStateIconSet] == 0, "Failed to set formState[FormStateIconSet]"); 242return _formState[s_formStateIsActive] != 0; 249if (_formState[s_formStateIsActive] != 0 == value) 357get => _formState[s_formStateAllowTransparency] != 0; 360if (value == (_formState[s_formStateAllowTransparency] != 0)) 367_formState[s_formStateLayered] = _formState[s_formStateAllowTransparency]; 400return _formState[s_formStateAutoScaling] != 0; 494get { return _formStateEx[s_formStateExAutoSize] != 0; } 608return _formStateEx[s_formStateExCalledClosing] != 0; 620return _formStateEx[s_formStateExCalledCreateControl] != 0; 632return _formStateEx[s_formStateExCalledMakeVisible] != 0; 644return _formStateEx[s_formStateExCalledOnLoad] != 0; 661get => (FormBorderStyle)_formState[s_formStateBorderStyle]; 667if (_formState[s_formStateSetClientSize] == 1 && !IsHandleCreated) 683int preWindowBoundsWidthIsClientSize = _formStateEx[s_formStateExWindowBoundsWidthIsClientSize]; 684int preWindowBoundsHeightIsClientSize = _formStateEx[s_formStateExWindowBoundsHeightIsClientSize]; 691if (_formState[s_formStateIconSet] == 0) 746get => _formState[s_formStateControlBox] != 0; 775if (TopLevel && (_formState[s_formStateLayered] != 0)) 789if (_formState[s_formStateTaskBar] != 0) 815if (_formState[s_formStateMdiChildMax] != 0) 968return _formState[s_formStateHelpButton] != 0; 1007if (_formState[s_formStateIconSet] == 0) 1044return _formStateEx[s_formStateExWindowClosing] == 1; 1058return (WindowState == FormWindowState.Maximized || (IsMdiChild && (_formState[s_formStateMdiChildMax] == 1))); 1140get => _formState[s_formStateKeyPreview] != 0; 1395get => _formState[s_formStateMaximizeBox] != 0; 1543get => _formState[s_formStateMinimizeBox] != 0; 1577bool oldLayered = _formState[s_formStateLayered] != 0; 1582if (_formState[s_formStateLayered] != 1) 1594if (oldLayered != (_formState[s_formStateLayered] != 0)) 1815get => _formState[s_formStateTaskBar] != 0; 1840get => _formStateEx[s_formStateExShowIcon] != 0; 1925return (SizeGripStyle)_formState[s_formStateSizeGripStyle]; 1954return (FormStartPosition)_formState[s_formStateStartPos]; 2064get => _formState[s_formStateTopMost] != 0; 2093bool oldLayered = (_formState[s_formStateLayered] == 1); 2104if (oldLayered != (_formState[s_formStateLayered] != 0)) 2119FormStartPosition startPos = (FormStartPosition)_formState[s_formStateStartPos]; 2186if (_formState[s_formStateSWCalled] == 0) 2544get => (FormWindowState)_formState[s_formStateWindowState]; 3071if ((FormWindowState)_formState[s_formStateWindowState] != FormWindowState.Normal 3091if (_formState[s_formStateSetClientSize] != 0) 3378&& (FormWindowState)_formState[s_formStateWindowState] == FormWindowState.Maximized) 3398if ((FormStartPosition)_formState[s_formStateStartPos] != FormStartPosition.WindowsDefaultBounds) 3403if (_formState[s_formStateShowWindowOnCreate] == 1) 3428if (_formState[s_formStateTopMost] != 0) 3508else if (_formStateEx[s_formStateExUseMdiChildProc] != 0) 3643switch ((FormBorderStyle)_formState[s_formStateBorderStyle]) 3677if (_formState[s_formStateSetClientSize] != 0) 3686switch ((FormStartPosition)_formState[s_formStateStartPos]) 3752switch ((FormWindowState)_formState[s_formStateWindowState]) 3857(_formStateEx[s_formStateExMnemonicProcessed] == 1 4017if (_formStateEx[s_formStateExSettingAutoScale] != 1) 4303if (_formState[s_formStateAutoScaling] == 1 && !DesignMode) 4464if (_formState[s_formStateRenderSizeGrip] != 0) 4506if (_formState[s_formStateRenderSizeGrip] != 0) 4726if (!ControlBox && _formState[s_formStateIsTextEmpty] != newTextEmpty) 4862if (_formState[s_formStateKeyPreview] != 0 && ProcessKeyEventArgs(ref m)) 5134if (_formState[s_formStateWindowState] == (int)FormWindowState.Minimized) 5157_formStateEx[s_formStateExWindowBoundsWidthIsClientSize] == 1 ? restoredSize.Width : _restoredWindowBounds.Width, 5158_formStateEx[s_formStateExWindowBoundsHeightIsClientSize] == 1 ? restoredSize.Height : _restoredWindowBounds.Height, 5174int suspendCount = _formStateEx[s_formStateExUpdateMenuHandlesSuspendCount]; 5181if (suspendCount == 0 && _formStateEx[s_formStateExUpdateMenuHandlesDeferred] != 0) 6026return _formState[s_formStateAutoScaling] != 0; 6039return _formState[s_formStateIconSet] == 1; 6081if (_formState[s_formStateWindowState] != (int)FormWindowState.Minimized) 6092int suspendCount = _formStateEx[s_formStateExUpdateMenuHandlesSuspendCount]; 6111int current = _formState[s_formStateRenderSizeGrip]; 6147if (_formState[s_formStateRenderSizeGrip] != current) 6213if ((_formState[s_formStateLayered] != 0) && IsHandleCreated && TopLevel) 6383if (_formStateEx[s_formStateExInUpdateMdiControlStrip] != 0) 6519if ((FormBorderStyle == FormBorderStyle.FixedDialog && _formState[s_formStateIconSet] == 0) || !ShowIcon) 6596if (_formState[s_formStateWindowState] != (int)FormWindowState.Normal) 6603if (_formState[s_formStateMdiChildMax] == 0) 6612if (_formState[s_formStateMdiChildMax] == 0) 6753if (m.MsgInternal == PInvokeCore.WM_CLOSE && !Modal && _formStateEx[s_formStateExInCloseEventDispatch] != 0) 6878int previousCloseEventDispatch = _formStateEx[s_formStateExInCloseEventDispatch]; 6971Size minTrack = (AutoSize && _formStateEx[s_formStateExInModalSizingLoop] == 1) ? LayoutUtils.UnionSizes(_minAutoSize, MinimumSize) : MinimumSize; 7108if (_formState[s_formStateRenderSizeGrip] != 0)
System\Windows\Forms\Layout\CommonProperties.cs (15)
70int value = state[s_autoSizeSection]; 410return state[s_autoSizeModeSection] == 0 ? AutoSizeMode.GrowOnly : AutoSizeMode.GrowAndShrink; 421bool result = state[s_dockAndAnchorNeedsLayoutSection] != 0; 439bool result = (state[s_dockAndAnchorNeedsLayoutSection] != 0) && (state[s_dockModeSection] == (int)DockAnchorMode.Anchor); 456bool result = state[s_dockModeSection] == (int)DockAnchorMode.Dock && element.ParticipatesInLayout; 474int value = state[s_selfAutoSizingSection]; 535AnchorStyles value = (AnchorStyles)state[s_dockAndAnchorSection]; 536DockAnchorMode mode = (DockAnchorMode)state[s_dockModeSection]; 553if (state[s_selfAutoSizingSection] != 0) 558bool result = (state[s_autoSizeSection] != 0) && (state[s_dockModeSection] == (int)DockAnchorMode.Anchor); 571DockStyle value = (DockStyle)state[s_dockAndAnchorSection]; 572DockAnchorMode mode = (DockAnchorMode)state[s_dockModeSection]; 643int value = state[s_flowBreakSection];