private void add_row() { Serial_Hierarchy_Row controlRow = new Serial_Hierarchy_Row(bibid); serialPanel.Controls.Add(controlRow); controlRow.Size = new Size(serialPanel.Width, 29); controlRow.Location = new Point(0, locationY); controlRow.Anchor = ((((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right))); controlRow.Odd_Row = oddRow; controlRow.Checked = true; controlRow.Index = index++; controlRow.isXP = isXp; controlRow.New_Row_Requested += controlRow_New_Row_Requested; locationY += 29; oddRow = !oddRow; rows.Add(controlRow); }
private void add_row() { Serial_Hierarchy_Row controlRow = new Serial_Hierarchy_Row( bibid ); serialPanel.Controls.Add(controlRow); controlRow.Size = new Size(serialPanel.Width, 29); controlRow.Location = new Point(0, locationY); controlRow.Anchor = ((((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right))); controlRow.Odd_Row = oddRow; controlRow.Checked = true; controlRow.Index = index++; controlRow.isXP = isXp; controlRow.New_Row_Requested += controlRow_New_Row_Requested; locationY += 29; oddRow = !oddRow; rows.Add(controlRow); }