1 write to control
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1345
this.
control
= control;
24 references to control
System.Windows.Forms (24)
winforms\Managed\System\WinForms\ErrorProvider.cs (24)
1347
this.
control
.HandleCreated += new EventHandler(OnCreateHandle);
1348
this.
control
.HandleDestroyed += new EventHandler(OnDestroyHandle);
1349
this.
control
.LocationChanged += new EventHandler(OnBoundsChanged);
1350
this.
control
.SizeChanged += new EventHandler(OnBoundsChanged);
1351
this.
control
.VisibleChanged += new EventHandler(OnParentVisibleChanged);
1352
this.
control
.ParentChanged += new EventHandler(OnParentVisibleChanged);
1356
if (
control
!= null) {
1357
control
.HandleCreated -= new EventHandler(OnCreateHandle);
1358
control
.HandleDestroyed -= new EventHandler(OnDestroyHandle);
1359
control
.LocationChanged -= new EventHandler(OnBoundsChanged);
1360
control
.SizeChanged -= new EventHandler(OnBoundsChanged);
1361
control
.VisibleChanged -= new EventHandler(OnParentVisibleChanged);
1362
control
.ParentChanged -= new EventHandler(OnParentVisibleChanged);
1529
x =
control
.Left - size.Width - iconPadding;
1534
x =
control
.Right + iconPadding;
1541
y =
control
.Top;
1545
y =
control
.Top + (
control
.Height - size.Height) / 2;
1549
y =
control
.Bottom - size.Height;
1588
(
control
.Created ||
control
.RecreatingHandle) &&
1589
control
.Visible &&
control
.ParentInternal != null &&
1591
window = provider.EnsureErrorWindow(
control
.ParentInternal);