2 writes to state
System.Windows.Forms (2)
winforms\Managed\System\WinForms\MenuItem.cs (2)
1656
state
= value? state & ~MenuItem.STATE_HIDDEN: state | MenuItem.STATE_HIDDEN;
1763
state
= value? state | flag: state & ~flag;
9 references to state
System.Windows.Forms (9)
winforms\Managed\System\WinForms\MenuItem.cs (9)
1602
if (((
state
& STATE_MDILIST) != 0) != value) {
1646
return
state
;
1652
return(
state
& MenuItem.STATE_HIDDEN) == 0;
1655
if (((
state
& MenuItem.STATE_HIDDEN) == 0) != value) {
1656
state = value?
state
& ~MenuItem.STATE_HIDDEN:
state
| MenuItem.STATE_HIDDEN;
1762
if (((
state
& flag) != 0) != value) {
1763
state = value?
state
| flag:
state
& ~flag;