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