11 references to StatusFlag
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\CommandSet.CommandSetItem.StatusState.cs (11)
28
private
StatusFlag
_statusFlags =
StatusFlag
.NeedsUpdate; // our flags.
44
Debug.Assert(!_statusFlags.HasFlag(
StatusFlag
.NeedsUpdate), "Updating item when StatusState is not valid.");
46
item.Enabled = _statusFlags.HasFlag(
StatusFlag
.Enabled);
47
item.Visible = _statusFlags.HasFlag(
StatusFlag
.Visible);
48
item.Checked = _statusFlags.HasFlag(
StatusFlag
.Checked);
49
item.Supported = _statusFlags.HasFlag(
StatusFlag
.Supported);
62
_statusFlags |=
StatusFlag
.Enabled;
67
_statusFlags |=
StatusFlag
.Visible;
72
_statusFlags |=
StatusFlag
.Checked;
77
_statusFlags |=
StatusFlag
.Supported;