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