70 references to GetState
System.Windows.Forms (70)
winforms\Managed\System\WinForms\AxHost.cs (4)
616
else if (f.Visible && !
GetState
(STATE_VISIBLE) && IsHandleCreated && GetOcState() >= OC_INPLACE) {
1889
if (
GetState
(STATE_VISIBLE) != value) {
3505
bool visible =
GetState
(STATE_VISIBLE);
3510
if (visible !=
GetState
(STATE_VISIBLE)) {
winforms\Managed\System\WinForms\Control.cs (51)
838
if (
GetState
(STATE_TOPLEVEL)) {
866
return
GetState
(STATE_ALLOWDROP);
870
if (
GetState
(STATE_ALLOWDROP) != value) {
1501
return
GetState
(STATE_CAUSESVALIDATION);
1965
if (
GetState
(STATE_VALIDATIONCANCELLED)) {
2040
if (
GetState
(STATE_USEWAITCURSOR))
2301
return
GetState
(STATE_DISPOSED);
2330
return
GetState
(STATE_DISPOSING);
2431
if (!
GetState
(STATE_ENABLED))
2779
if (
GetState
(STATE_DISPOSING| STATE_DISPOSED)) {
2923
if (!
GetState
(STATE_CHECKEDHOST)) {
2957
return
GetState
(STATE_HOSTEDINDIALOG);
3120
return
GetState
(STATE_ISACCESSIBLE);
3176
return
GetState
(STATE_MIRRORED);
3567
if (
GetState
(STATE_TOPLEVEL)) {
4295
get { return
GetState
(STATE_USEWAITCURSOR); }
4297
if (
GetState
(STATE_USEWAITCURSOR) != value) {
4782
if(
GetState
(STATE_LAYOUTISDIRTY)) {
5779
if (
GetState
(STATE_DISPOSED)) {
5783
if (
GetState
(STATE_CREATINGHANDLE)) {
5995
if (
GetState
(STATE_OWNCTLBRUSH)) {
6009
if (
GetState
(STATE_DISPOSING)) {
6013
if (
GetState
(STATE_CREATINGHANDLE)) {
6599
bool scaleLoc = !
GetState
(STATE_TOPLEVEL);
6652
if (!
GetState
(STATE_VISIBLE))
7101
if (!
GetState
(STATE_TRACKINGMOUSEEVENT)) {
7968
if (
GetState
(STATE_OWNCTLBRUSH)) {
8376
if (
GetState
(STATE_ENABLED)) {
8471
if (
GetState
(STATE_VISIBLE)) {
8478
if (
GetState
(STATE_VISIBLE)) {
8816
if (
GetState
(STATE_THREADMARSHALLPENDING)) {
8871
if (
GetState
(STATE_OWNCTLBRUSH)) {
9461
||
GetState
(STATE_EXCEPTIONWHILEPAINTING)) {
9845
if (
GetState
(STATE_EXCEPTIONWHILEPAINTING)) {
9984
if(ParentInternal != null && ParentInternal.
GetState
(STATE_LAYOUTISDIRTY)) {
10965
if (
GetState
(STATE_TRACKINGMOUSEEVENT)) {
11131
if (
GetState
(STATE_TRACKINGMOUSEEVENT)) {
11187
&&
GetState
(STATE_LAYOUTDEFERRED)
11236
if (accept !=
GetState
(STATE_DROPTARGET) && IsHandleCreated) {
11884
if (!
GetState
(STATE_SIZELOCKEDBYOS)) {
12179
if (!
GetState
(STATE_VISIBLE) && !value && IsHandleCreated) {
12266
return (!
GetState
(STATE_ENABLED));
12306
return (!
GetState
(STATE_VISIBLE));
13292
if (!RecreatingHandle && !Disposing && !IsDisposed &&
GetState
(STATE_TRACKINGMOUSEEVENT))
13510
if (
GetState
(STATE_MOUSEPRESSED) && !IsDisposed && UnsafeNativeMethods.WindowFromPoint(pt.X, pt.Y) == Handle) {
13516
if (!
GetState
(STATE_DOUBLECLICKFIRED)) {
13936
bool oldVisibleBit =
GetState
(STATE_VISIBLE);
13969
if (!
GetState
(STATE_PARENTRECREATING) && (oldVisibleProperty != visible)) {
14479
get { return
GetState
(STATE_VISIBLE); }
14641
if (!control.
GetState
(Control.STATE_TRACKINGMOUSEEVENT)) {
14643
if (!control.
GetState
(Control.STATE_MOUSEENTERPENDING)) {
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
17293
if (
GetState
(STATE_VISIBLE))
winforms\Managed\System\WinForms\Form.cs (6)
1907
bool oldVisibleBit =
GetState
(STATE_VISIBLE);
2048
return
GetState
(STATE_MODAL);
3565
if (
GetState
(STATE_CREATINGHANDLE))
4387
return
GetState
(STATE_VISIBLE) && IsHandleCreated;
4873
if (
GetState
(STATE_MODAL)) {
6373
if (
GetState
(STATE_MODAL)) {
winforms\Managed\System\WinForms\ListBox.cs (2)
740
if (RecreatingHandle ||
GetState
(STATE_CREATINGHANDLE)) {
2444
if (
GetState
(STATE_DISPOSED))
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3408
if (m.LParam == Handle && !
GetState
(STATE_CREATINGHANDLE))
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
471
if (current != null && current.
GetState
(STATE_VISIBLE)) {
520
if (current != null && current.
GetState
(STATE_VISIBLE)) {
winforms\Managed\System\WinForms\ToolBar.cs (1)
1083
bool currentDisposing =
GetState
(STATE_DISPOSING);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
4789
get { return
GetState
(STATE_VISIBLE);}
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
88
get { return
GetState
(STATE_VISIBLE); }