2 writes to icon
System.Windows.Forms (2)
winforms\Managed\System\WinForms\StatusBarPanel.cs (2)
205
this.
icon
= new Icon(value, SystemInformation.SmallIconSize);
208
this.
icon
= value;
7 references to icon
System.Windows.Forms (7)
winforms\Managed\System\WinForms\StatusBarPanel.cs (7)
198
return this.
icon
;
212
IntPtr handle = (this.
icon
== null) ? IntPtr.Zero : this.
icon
.Handle;
557
if (this.
icon
!= null) {
558
sz.Width += this.
icon
.Size.Width + 5;
648
if (this.
icon
!= null && style != StatusBarPanelStyle.OwnerDraw) {
649
this.parent.SendMessage(NativeMethods.SB_SETICON, (IntPtr)GetIndex(), this.
icon
.Handle);