1 write to parent
System.Windows.Forms (1)
winforms\Managed\System\WinForms\StatusBarPanel.cs (1)
324parent = value;
26 references to parent
System.Windows.Forms (26)
winforms\Managed\System\WinForms\StatusBarPanel.cs (26)
165this.parent.Invalidate(); 176return this.parent != null && this.parent.ArePanelsRealized(); 213this.parent.SendMessage(NativeMethods.SB_SETICON, (IntPtr)GetIndex(), handle); 218this.parent.Invalidate(); 310return parent; 369this.parent.Invalidate(); 470parent.UpdateTooltip(this); 517if (parent != null) { 520parent.Panels.RemoveAt(index); 555Graphics g = this.parent.CreateGraphicsInternal(); 556Size sz = Size.Ceiling(g.MeasureString(text, parent.Font)); 597if (parent.RightToLeft == RightToLeft.Yes) { 639if (parent.RightToLeft == RightToLeft.Yes) { 643int result = (int) UnsafeNativeMethods.SendMessage(new HandleRef(parent, parent.Handle), NativeMethods.SB_SETTEXT, (IntPtr)wparam, sendText); 649this.parent.SendMessage(NativeMethods.SB_SETICON, (IntPtr)GetIndex(), this.icon.Handle); 652this.parent.SendMessage(NativeMethods.SB_SETICON, (IntPtr)GetIndex(), IntPtr.Zero); 657result = (int) UnsafeNativeMethods.SendMessage(new HandleRef(parent, parent.Handle), NativeMethods.SB_GETRECT, (IntPtr)GetIndex(), ref rect); 660this.parent.Invalidate(Rectangle.FromLTRB(rect.left, rect.top, rect.right, rect.bottom)); 672parent.DirtyLayout(); 673parent.PerformLayout(); 680parent != null) { 685parent.DirtyLayout(); 686parent.PerformLayout();