예제 #1
0
 protected override void OnPaint(System.Windows.Forms.PaintEventArgs e)
 {
     // all the grip painting should be on the ToolStrip itself.
     if (ParentInternal != null)
     {
         ParentInternal.OnPaintGrip(e);
     }
 }
예제 #2
0
 protected override void OnPaint(PaintEventArgs e)
 {
     // all the grip painting should be on the ToolStrip itself.
     if (ParentInternal is not null)
     {
         ParentInternal.OnPaintGrip(e);
     }
 }