1 type derived from CurrencyManager
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\RelatedCurrencyManager.cs (1)
13
internal class RelatedCurrencyManager :
CurrencyManager
2 instantiations of CurrencyManager
System.Windows.Forms (2)
System\Windows\Forms\DataBinding\BindingContext.cs (1)
249
bindingManagerBase = new
CurrencyManager
(dataSource);
System\Windows\Forms\DataBinding\BindingSource.cs (1)
84
_currencyManager = new
CurrencyManager
(this);
79 references to CurrencyManager
System.Windows.Forms (40)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (3)
105
public
CurrencyManager
? CurrencyManager { get; private set; }
1079
CurrencyManager = _owner.BindingContext[DataSource, DataMember] as
CurrencyManager
;
1523
if (_owner.BindingContext[newDataSource] is not
CurrencyManager
cm)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (8)
124
private
CurrencyManager
? DataManager
790
private
CurrencyManager
? GetDataManager(DataGridView? dataGridView)
792
CurrencyManager
? cm = Properties.GetValueOrDefault<
CurrencyManager
?>(s_propComboBoxCellDataManager);
805
cm = (
CurrencyManager
)dataGridView.BindingContext[DataSource];
1098
CurrencyManager
? dataManager = GetDataManager(dataGridView);
1356
DataManager = (
CurrencyManager
)DataGridView!.BindingContext![DataSource!, displayBindingMember.BindingPath];
1387
DataManager = (
CurrencyManager
)DataGridView!.BindingContext![DataSource!, valueBindingMember.BindingPath];
System\Windows\Forms\Controls\ListControl\ListControl.cs (5)
24
private
CurrencyManager
? _dataManager;
97
protected
CurrencyManager
? DataManager => _dataManager;
258
private static bool BindingMemberInfoInDataManager(
CurrencyManager
dataManager, BindingMemberInfo bindingMemberInfo)
701
CurrencyManager
? newDataManager = null;
709
newDataManager = (
CurrencyManager
)BindingContext[newDataSource, newDisplayMember.BindingPath];
System\Windows\Forms\DataBinding\Binding.BindToObject.cs (4)
90
&& _bindingManager is not
CurrencyManager
)
183
if (_bindingManager is
CurrencyManager
cm)
208
&& _bindingManager is not
CurrencyManager
)
234
&& _bindingManager is not
CurrencyManager
)
System\Windows\Forms\DataBinding\Binding.cs (2)
246
if (_bindingManagerBase is
CurrencyManager
oldCurrencyManager)
253
if (value is
CurrencyManager
newCurrencyManager)
System\Windows\Forms\DataBinding\BindingManagerBase.cs (1)
79
if (this is
CurrencyManager
currencyManager)
System\Windows\Forms\DataBinding\BindingSource.cs (9)
44
private readonly
CurrencyManager
_currencyManager;
136
public virtual
CurrencyManager
? CurrencyManager
141
public virtual
CurrencyManager
? GetRelatedCurrencyManager(string? dataMember)
891
CurrencyManager
cm = (
CurrencyManager
)sender!;
1261
private void WireCurrencyManager(
CurrencyManager
cm)
1272
private void UnwireCurrencyManager(
CurrencyManager
cm)
1287
CurrencyManager
? cm = provider.CurrencyManager;
1300
CurrencyManager
? cm = provider.CurrencyManager;
System\Windows\Forms\DataBinding\ICurrencyManagerProvider.cs (2)
12
CurrencyManager
? CurrencyManager { get; }
19
CurrencyManager
? GetRelatedCurrencyManager(string? dataMember);
System\Windows\Forms\DataBinding\ListBindingHelper.cs (1)
56
CurrencyManager
? cm = currencyManagerProvider.CurrencyManager;
System\Windows\Forms\DataBinding\RelatedCurrencyManager.cs (3)
55
if (bmb is
CurrencyManager
currencyManager)
68
if (bmb is
CurrencyManager
currencyManager)
158
if (_parentManager is
CurrencyManager
currencyManager)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (2)
365
if (listManager is
CurrencyManager
currManager)
382
if (listManager is
CurrencyManager
currManager)
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
712
CurrencyManager
? currencyManager = null;
715
currencyManager = BindingContext?[_liveDataGridView.DataSource, _liveDataGridView.DataMember] as
CurrencyManager
;
System\Windows\Forms\Design\DataGridViewDesigner.cs (3)
24
private
CurrencyManager
? _currencyManager;
222
CurrencyManager
? newCM = null;
225
newCM = (
CurrencyManager
?)dataGridView.BindingContext?[dataGridView.DataSource, dataGridView.DataMember];
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
1552
CurrencyManager
? listManager = _bindingContext?[dataSource, dataMember] as
CurrencyManager
;
System.Windows.Forms.Tests (32)
System\Windows\Forms\BindingContextTests.cs (22)
419
CurrencyManager
manager = Assert.IsType<
CurrencyManager
>(context[dataSource]);
433
CurrencyManager
manager = Assert.IsType<
CurrencyManager
>(context[dataSource]);
452
CurrencyManager
manager = Assert.IsType<
CurrencyManager
>(context[mockIListSource.Object]);
478
CurrencyManager
manager = new BindingSource().CurrencyManager;
495
.Returns((
CurrencyManager
)null);
579
CurrencyManager
manager = Assert.IsAssignableFrom<
CurrencyManager
>(context[dataSource, "Property"]);
616
CurrencyManager
manager = Assert.IsAssignableFrom<
CurrencyManager
>(context[dataSource, "Property"]);
638
CurrencyManager
manager = Assert.IsAssignableFrom<
CurrencyManager
>(context[dataSource, "Property"]);
821
CurrencyManager
manager = Assert.IsType<
CurrencyManager
>(context[dataSource]);
859
CurrencyManager
manager = Assert.IsAssignableFrom<
CurrencyManager
>(context[dataSource, "Property"]);
916
CurrencyManager
manager1 = Assert.IsType<
CurrencyManager
>(context1[dataSource]);
923
CurrencyManager
manager2 = Assert.IsType<
CurrencyManager
>(context2[dataSource]);
System\Windows\Forms\BindingSourceTests.cs (1)
453
.Returns<
CurrencyManager
>(null)
System\Windows\Forms\ComboBoxTests.cs (1)
2827
public new
CurrencyManager
DataManager => base.DataManager;
System\Windows\Forms\ListBindingHelperTests.cs (4)
54
.Returns((
CurrencyManager
)null);
510
public
CurrencyManager
CurrencyManagerResult { get; set; }
512
public
CurrencyManager
CurrencyManager => CurrencyManagerResult;
514
public
CurrencyManager
GetRelatedCurrencyManager(string dataMember)
System\Windows\Forms\ListBoxTests.cs (1)
6408
public new
CurrencyManager
DataManager => base.DataManager;
System\Windows\Forms\ListControlTests.cs (3)
433
CurrencyManager
dataManger = control.DataManager;
534
CurrencyManager
dataManger = control.DataManager;
2916
public new
CurrencyManager
DataManager => base.DataManager;