2 writes to edit
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
350
edit
= new GridViewEdit(this);
1155
edit
= null;
29 references to edit
System.Windows.Forms (29)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (29)
342
if (
edit
== null) {
351
edit
.BorderStyle = BorderStyle.None;
352
edit
.AutoSize = false;
353
edit
.TabStop = false;
354
edit
.AcceptsReturn = true;
355
edit
.BackColor = BackColor;
356
edit
.ForeColor = ForeColor;
357
edit
.KeyDown += new KeyEventHandler(this.OnEditKeyDown);
358
edit
.KeyPress += new KeyPressEventHandler(this.OnEditKeyPress);
359
edit
.GotFocus += new EventHandler(this.OnEditGotFocus);
360
edit
.LostFocus += new EventHandler(this.OnEditLostFocus);
361
edit
.MouseDown += new MouseEventHandler(this.OnEditMouseDown);
362
edit
.TextChanged += new EventHandler(this.OnEditChange);
364
edit
.TabIndex = 1;
365
CommonEditorSetup(
edit
);
367
return
edit
;
419
if (
edit
!= null &&
edit
.IsHandleCreated) {
420
int exStyle = unchecked((int)((long)UnsafeNativeMethods.GetWindowLong(new HandleRef(
edit
,
edit
.Handle), NativeMethods.GWL_EXSTYLE)));
517
if (
edit
==null || !Edit.Visible) {
1153
if (
edit
!= null) {
1154
edit
.Dispose();
4299
if (
edit
!= null) {
4805
bool editfocused = (
edit
!= null &&
edit
.Focused);
4812
if (editfocused &&
edit
!= null) {
4813
edit
.Focus();
5364
if (
edit
.Visible) {