1 write to propertyGrid1
WinFormsControlsTest (1)
Dialogs.Designer.cs (1)
35this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
21 references to propertyGrid1
WinFormsControlsTest (21)
Dialogs.cs (12)
35if (propertyGrid1.SelectedObject is OpenFileDialog openFileDialog) 42if (propertyGrid1.SelectedObject is CommonDialog dialog) 48if (propertyGrid1.SelectedObject is Form form) 62if (propertyGrid1.SelectedObject is IDisposable disposable) 70foreach (Control control in propertyGrid1.Controls) 85propertyGrid1.SelectedObject = null; 97propertyGrid1.SelectedObject = openFileDialog1; 103propertyGrid1.SelectedObject = saveFileDialog1; 109propertyGrid1.SelectedObject = folderBrowserDialog1; 115propertyGrid1.SelectedObject = printDialog1; 121propertyGrid1.SelectedObject = null; 129_btnOpen.Enabled = propertyGrid1.SelectedObject is not null;
Dialogs.Designer.cs (9)
52this.propertyGrid1.CommandsBorderColor = System.Drawing.SystemColors.Control; 53this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill; 54this.propertyGrid1.Location = new System.Drawing.Point(171, 0); 55this.propertyGrid1.Margin = new System.Windows.Forms.Padding(2); 56this.propertyGrid1.Name = "propertyGrid1"; 57this.propertyGrid1.Size = new System.Drawing.Size(332, 430); 58this.propertyGrid1.TabIndex = 0; 59this.propertyGrid1.SelectedObjectsChanged += this.propertyGrid1_SelectedObjectsChanged; 151this.Controls.Add(this.propertyGrid1);