1 write to _liveDataGridView
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
52_liveDataGridView = liveDataGridView;
32 references to _liveDataGridView
System.Windows.Forms.Design (32)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (32)
57if (_liveDataGridView.Site.TryGetService(out IUIService? uiService)) 130_liveDataGridView.Site?.Container?.Add(column, column.Name); 134IUIService? uiService = _liveDataGridView.Site?.GetService<IUIService>(); 135DataGridViewDesigner.ShowErrorDialog(uiService, ex, _liveDataGridView); 156IDesignerHost? host = _liveDataGridView.Site?.GetService<IDesignerHost>(); 167_liveDataGridView.Columns, 521if (!_liveDataGridView.Site.TryGetService(out IComponentChangeService? changeService)) 528DataGridViewColumn[] cols = new DataGridViewColumn[_liveDataGridView.Columns.Count - _initialDataGridViewColumnsCount]; 529for (int i = _initialDataGridViewColumnsCount; i < _liveDataGridView.Columns.Count; i++) 531cols[i - _initialDataGridViewColumnsCount] = _liveDataGridView.Columns[i]; 534for (int i = _initialDataGridViewColumnsCount; i < _liveDataGridView.Columns.Count;) 536_liveDataGridView.Columns.RemoveAt(_initialDataGridViewColumnsCount); 541PropertyDescriptor? prop = TypeDescriptor.GetProperties(_liveDataGridView)["Columns"]; 542changeService.OnComponentChanging(_liveDataGridView, prop); 551_liveDataGridView.Columns.AddRange(cols); 554changeService.OnComponentChanged(_liveDataGridView, prop, null, null); 585IHelpService? helpService = _liveDataGridView.Site?.GetService<IHelpService>(); 636if (_liveDataGridView.Site.TryGetService(out IDesignerHost? host)) 639nameCreationService = _liveDataGridView.Site.GetService<INameCreationService>(); 647_liveDataGridView.Columns, 651IUIService? uiService = _liveDataGridView.Site?.GetService<IUIService>(); 652DataGridViewDesigner.ShowErrorDialog(uiService, errorString, _liveDataGridView); 661if (!_liveDataGridView.Site.TryGetService(out IDesignerHost? host)) 711if (_liveDataGridView.DataSource is not null) 716currencyManager = BindingContext?[_liveDataGridView.DataSource, _liveDataGridView.DataMember] as CurrencyManager; 777IDesignerHost? host = _liveDataGridView.Site?.GetService<IDesignerHost>(); 779INameCreationService? nameCreationService = _liveDataGridView.Site?.GetService<INameCreationService>(); 786_liveDataGridView.Columns, 795IUIService? uiService = _liveDataGridView.Site?.GetService<IUIService>(); 796DataGridViewDesigner.ShowErrorDialog(uiService, errorString, _liveDataGridView); 813_initialDataGridViewColumnsCount = _liveDataGridView.Columns.Count;