public void AddRange(ToolStripPanelRowCollection value) { ArgumentNullException.ThrowIfNull(value); ToolStripPanel currentOwner = _owner; if (currentOwner is not null) { currentOwner.SuspendLayout(); } try { int currentCount = value.Count; for (int i = 0; i < currentCount; i++) { Add(value[i]); } } finally { if (currentOwner is not null) { currentOwner.ResumeLayout(); } } }
public void AddRange(ToolStripPanelRowCollection value) { if (value is null) { throw new ArgumentNullException(nameof(value)); } ToolStripPanel currentOwner = _owner; if (currentOwner != null) { currentOwner.SuspendLayout(); } try { int currentCount = value.Count; for (int i = 0; i < currentCount; i++) { Add(value[i]); } } finally { if (currentOwner != null) { currentOwner.ResumeLayout(); } } }
public ToolStripPanel() : base() { base.AutoSize = true; this.locked = false; this.renderer = null; this.render_mode = ToolStripRenderMode.ManagerRenderMode; this.row_margin = new Padding(3, 0, 0, 0); this.rows = new ToolStripPanelRowCollection(this); }
public ToolStripPanel () : base () { base.AutoSize = true; this.locked = false; this.renderer = null; this.render_mode = ToolStripRenderMode.ManagerRenderMode; this.row_margin = new Padding (3, 0, 0, 0); this.rows = new ToolStripPanelRowCollection (this); }
public void AddRange(ToolStripPanelRowCollection value) { if (value == null) { throw new ArgumentNullException("value"); } foreach (ToolStripPanelRow tspr in value) { this.Add(tspr); } }
public void AddRange(ToolStripPanelRowCollection value) { }
public void AddRange (ToolStripPanelRowCollection value) { if (value == null) throw new ArgumentNullException ("value"); foreach (ToolStripPanelRow tspr in value) this.Add (tspr); }
public void AddRange(ToolStripPanelRowCollection value) { throw null; }