private void renderTables() { this.renderKnapsackTable(); this.renderItems(); this.itemsStartY += 45; this.renderWeights(); Button startBtn = ControlsHelper.CreateButton(new Size(100, 50), new Point(550, 20), "startVizualization", "Start visualization", new EventHandler(startVizualization_Click)); RichTextBox tooltip = ControlsHelper.CreateRichTextbox(new Size(400, 150), new Point(this.itemsStartX * this.yBagDimension + 50 + this.itemsMargin * 3, 100), "tooltip", isReadOnly: true); this.tooltip = tooltip; tooltip.BackColor = Color.White; this.Controls.AddRange(new Control[] { startBtn, tooltip }); }