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