コード例 #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;
 }
コード例 #2
0
 public ToolStripSplitStackDragDropHandler(ToolStrip owner)
 {
     this._owner = owner.OrThrowIfNull();
 }
コード例 #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)
 {
 }
コード例 #4
0
 public ToolStripItemCollection(ToolStrip owner, ToolStripItem[] value)
 {
     _owner = owner.OrThrowIfNull();
     AddRange(value);
 }