20 references to CurrencyManagerStates
System.Windows.Forms (20)
System\Windows\Forms\DataBinding\CurrencyManager.cs (20)
19
private
CurrencyManagerStates
_state;
54
_state.ChangeFlags(
CurrencyManagerStates
.ShouldBind, true);
195
internal override bool IsBinding => _state.HasFlag(
CurrencyManagerStates
.Bound);
198
internal bool ShouldBind => _state.HasFlag(
CurrencyManagerStates
.ShouldBind);
353
_state.ChangeFlags(
CurrencyManagerStates
.InChangeRecordState, true);
360
_state.ChangeFlags(
CurrencyManagerStates
.InChangeRecordState, false);
400
if (_state.HasFlag(
CurrencyManagerStates
.PullingData))
447
_state.ChangeFlags(
CurrencyManagerStates
.PullingData, true);
455
_state.ChangeFlags(
CurrencyManagerStates
.PullingData, false);
678
_state.ChangeFlags(
CurrencyManagerStates
.SuspendPushDataInCurrentChanged, true);
816
_state.ChangeFlags(
CurrencyManagerStates
.SuspendPushDataInCurrentChanged, false);
834
if (!_state.HasFlag(
CurrencyManagerStates
.InChangeRecordState))
838
if (!_state.HasFlag(
CurrencyManagerStates
.SuspendPushDataInCurrentChanged))
891
if ((e.Index == listposition || (e.Index == -1 && Position < Count)) && !_state.HasFlag(
CurrencyManagerStates
.InChangeRecordState))
970
_state.ChangeFlags(
CurrencyManagerStates
.ShouldBind, true);
978
_state.ChangeFlags(
CurrencyManagerStates
.ShouldBind, false);
992
_state.ChangeFlags(
CurrencyManagerStates
.ShouldBind, false);
1015
if (_state.HasFlag(
CurrencyManagerStates
.Bound) != newBound)
1020
_state.ChangeFlags(
CurrencyManagerStates
.Bound, newBound);
1022
ChangeRecordState(newPos, _state.HasFlag(
CurrencyManagerStates
.Bound), (Position != newPos), true, false);