1 write to _liveDataGridView
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1101
_liveDataGridView
= dataGridView;
27 references to _liveDataGridView
System.Windows.Forms.Design (27)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (27)
116
ITypeResolutionService? tr =
_liveDataGridView
?.Site?.GetService<ITypeResolutionService>();
182
IComponentChangeService? changeService =
_liveDataGridView
!.Site?.GetService<IComponentChangeService>();
183
PropertyDescriptor? prop = TypeDescriptor.GetProperties(
_liveDataGridView
)["Columns"];
184
IContainer? currentContainer =
_liveDataGridView
.Site?.Container;
198
DataGridViewColumn[] oldColumns = new DataGridViewColumn[
_liveDataGridView
.Columns.Count];
199
_liveDataGridView
.Columns.CopyTo(oldColumns, 0);
202
changeService?.OnComponentChanging(
_liveDataGridView
, prop);
205
_liveDataGridView
.Columns.Clear();
208
changeService?.OnComponentChanged(
_liveDataGridView
, prop, null, null);
258
changeService?.OnComponentChanging(
_liveDataGridView
, prop);
267
_liveDataGridView
.Columns.Add(newColumns[i]);
271
changeService?.OnComponentChanged(
_liveDataGridView
, prop, null, null);
280
IUIService? uiService =
_liveDataGridView
?.Site?.GetService<IUIService>();
281
DataGridViewDesigner.ShowErrorDialog(uiService, ex,
_liveDataGridView
);
788
IHelpService? helpService =
_liveDataGridView
?.Site?.GetService<IHelpService>();
795
IUIService? uiService =
_liveDataGridView
?.Site?.GetService<IUIService>();
849
_addColumnDialog = ScaleHelper.InvokeInSystemAwareContext(() => new DataGridViewAddColumnDialog(_columnsPrivateCopy,
_liveDataGridView
!));
873
ITypeResolutionService? tr =
_liveDataGridView
?.Site?.GetService<ITypeResolutionService>();
1112
_userAddedColumns.EnsureCapacity(
_liveDataGridView
.Columns.Count);
1121
for (int i = 0; i <
_liveDataGridView
.Columns.Count; i++)
1123
DataGridViewColumn liveCol =
_liveDataGridView
.Columns[i];
1127
col.ContextMenuStrip =
_liveDataGridView
.Columns[i].ContextMenuStrip;
1150
_propertyGrid1.Site = new DataGridViewComponentPropertyGridSite(
_liveDataGridView
.Site,
_liveDataGridView
);
1230
if (dataGridViewColumnDesigner is not null && Owner.
_liveDataGridView
is not null)
1232
dataGridViewColumnDesigner.LiveDataGridView = Owner.
_liveDataGridView
;
1308
get => Owner.
_liveDataGridView
?.Site;