Exemplo n.º 1
0
 /// <summary>
 ///  This class represents all the information to render the toolStrip
 /// </summary>
 public ToolStripRenderEventArgs(
     Graphics g,
     ToolStrip toolStrip,
     Rectangle affectedBounds,
     Color backColor)
 {
     Graphics       = g.OrThrowIfNull();
     ToolStrip      = toolStrip.OrThrowIfNull();
     AffectedBounds = affectedBounds;
     _backColor     = backColor;
 }
 public ToolStripSplitStackDragDropHandler(ToolStrip owner)
 {
     this._owner = owner.OrThrowIfNull();
 }
Exemplo n.º 3
0
 /// <summary>
 ///  This class represents all the information to render the toolStrip
 /// </summary>
 public ToolStripRenderEventArgs(Graphics g, ToolStrip toolStrip)
     : this(g, toolStrip, new Rectangle(Point.Empty, toolStrip.OrThrowIfNull().Size), Color.Empty)
 {
 }
 public ToolStripItemCollection(ToolStrip owner, ToolStripItem[] value)
 {
     _owner = owner.OrThrowIfNull();
     AddRange(value);
 }