4 writes to currentObjects
System.Windows.Forms (4)
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
1242
currentObjects
= new Object[0];
1245
currentObjects
= (object[])value.Clone();
2257
currentObjects
= null;
2879
this.
currentObjects
= newObjects;
63 references to currentObjects
System.Windows.Forms (63)
winforms\Managed\System\WinForms\PropertyGrid.cs (63)
452
if (
currentObjects
!= null &&
currentObjects
.Length > 0) {
1143
if (
currentObjects
== null ||
currentObjects
.Length == 0) {
1146
return
currentObjects
[0];
1198
if (
currentObjects
!= null && value != null &&
1199
currentObjects
.Length == value.Length) {
1203
if (isSame &&
currentObjects
[i] != value[i]) {
1296
if (
currentObjects
.Length > 10) {
1300
for (int i = 0; i <
currentObjects
.Length && showEvents; i++) {
1301
tempObj =
currentObjects
[i];
1325
ShowEventsButton(showEvents &&
currentObjects
.Length > 0);
1328
if (
currentObjects
.Length == 1) {
1329
EnablePropPageButton(
currentObjects
[0]);
1353
if (
currentObjects
.Length > 0 && GetFlag(ReInitTab)) {
1376
if (
currentObjects
.Length > 0) {
1392
if (
currentObjects
== null) {
1395
return (object[])
currentObjects
.Clone();
2133
if (
currentObjects
!= null &&
currentObjects
.Length > 0) {
2134
for (int i = 0; i <
currentObjects
.Length; i++) {
2162
if (
currentObjects
.Length == 1 && GetUnwrappedObject(0) is IComponent) {
2256
if (
currentObjects
!= null) {
2389
if (
currentObjects
!= null) {
2404
for (int j = 0; j <
currentObjects
.Length; j++) {
2633
if (
currentObjects
== null || index < 0 || index >
currentObjects
.Length) {
2637
Object obj =
currentObjects
[index];
2829
(
currentObjects
== null) || (
currentObjects
.Length == 0)) {
2837
int objectCount =
currentObjects
.Length;
2839
if (
currentObjects
[i] == e.Component) {
2861
for (int i = 0; i <
currentObjects
.Length; i++) {
2862
if (e.Component ==
currentObjects
[i]) {
2864
object[] newObjects = new object[
currentObjects
.Length - 1];
2865
Array.Copy(
currentObjects
, 0, newObjects, 0, i);
2869
Array.Copy(
currentObjects
, i + 1, newObjects, i, newObjects.Length - i);
2921
if (
currentObjects
!= null &&
currentObjects
.Length > 0) {
3435
this.SelectedObjects =
currentObjects
;
3459
if (
currentObjects
!= null) {
3460
for (int i = 0; i <
currentObjects
.Length; i++) {
3462
if (
currentObjects
[i] == e.ComponentChanged || typeChanged != null && typeChanged.IsAssignableFrom(
currentObjects
[i].GetType())) {
3539
currentObjects
!= null &&
3540
currentObjects
.Length > 0) {
3541
Object baseObject =
currentObjects
[0];
3940
if (
currentObjects
!= null &&
currentObjects
.Length > 0) {
3942
Type[] tabTypes = GetCommonTabs(
currentObjects
, PropertyTabScope.Component);
3945
for (int j = 0; j <
currentObjects
.Length; j++) {
3946
AddRefTab(tabTypes[i],
currentObjects
[j], PropertyTabScope.Component, false);
4193
for (int i = 0; i <
currentObjects
.Length; ++i) {
4194
if (
currentObjects
[i] == oldObject) {
4195
currentObjects
[i] = newObject;
4630
if (
currentObjects
== null ||
currentObjects
.Length == 0) {
4636
if (connectionPointCookies == null || (
currentObjects
.Length > connectionPointCookies.Length)) {
4637
connectionPointCookies = new AxHost.ConnectionPointCookie[
currentObjects
.Length];
4640
for (int i = 0; i <
currentObjects
.Length; i++) {
4715
if (
currentObjects
!= null &&
currentObjects
.Length > 0) {
4716
peMain = (GridEntry)GridEntry.Create(gridView,
currentObjects
, new PropertyGridServiceProvider(this), designerHost, this.SelectedTab, propertySortValue);