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)
56if (_liveDataGridView.Site.TryGetService(out IUIService? uiService)) 129_liveDataGridView.Site?.Container?.Add(column, column.Name); 133IUIService? uiService = _liveDataGridView.Site?.GetService<IUIService>(); 134DataGridViewDesigner.ShowErrorDialog(uiService, ex, _liveDataGridView); 155IDesignerHost? host = _liveDataGridView.Site?.GetService<IDesignerHost>(); 166_liveDataGridView.Columns, 520if (!_liveDataGridView.Site.TryGetService(out IComponentChangeService? changeService)) 527DataGridViewColumn[] cols = new DataGridViewColumn[_liveDataGridView.Columns.Count - _initialDataGridViewColumnsCount]; 528for (int i = _initialDataGridViewColumnsCount; i < _liveDataGridView.Columns.Count; i++) 530cols[i - _initialDataGridViewColumnsCount] = _liveDataGridView.Columns[i]; 533for (int i = _initialDataGridViewColumnsCount; i < _liveDataGridView.Columns.Count;) 535_liveDataGridView.Columns.RemoveAt(_initialDataGridViewColumnsCount); 540PropertyDescriptor? prop = TypeDescriptor.GetProperties(_liveDataGridView)["Columns"]; 541changeService.OnComponentChanging(_liveDataGridView, prop); 550_liveDataGridView.Columns.AddRange(cols); 553changeService.OnComponentChanged(_liveDataGridView, prop, null, null); 584IHelpService? helpService = _liveDataGridView.Site?.GetService<IHelpService>(); 635if (_liveDataGridView.Site.TryGetService(out IDesignerHost? host)) 638nameCreationService = _liveDataGridView.Site.GetService<INameCreationService>(); 646_liveDataGridView.Columns, 650IUIService? uiService = _liveDataGridView.Site?.GetService<IUIService>(); 651DataGridViewDesigner.ShowErrorDialog(uiService, errorString, _liveDataGridView); 660if (!_liveDataGridView.Site.TryGetService(out IDesignerHost? host)) 710if (_liveDataGridView.DataSource is not null) 715currencyManager = BindingContext?[_liveDataGridView.DataSource, _liveDataGridView.DataMember] as CurrencyManager; 770IDesignerHost? host = _liveDataGridView.Site?.GetService<IDesignerHost>(); 772INameCreationService? nameCreationService = _liveDataGridView.Site?.GetService<INameCreationService>(); 779_liveDataGridView.Columns, 788IUIService? uiService = _liveDataGridView.Site?.GetService<IUIService>(); 789DataGridViewDesigner.ShowErrorDialog(uiService, errorString, _liveDataGridView); 806_initialDataGridViewColumnsCount = _liveDataGridView.Columns.Count;