private void CreateRichTextBoxes()
        {
            controlManager = new EventControlManager(textBox1);
            //textBox1.BackColor = Color.White;
            controlManager.AddOption(textBox2);
            controlManager.AddOption(textBox3);
            controlManager.AddOption(textBox4);
            controlManager.AddOption(textBox5);
            controlManager.AddOption(textBox6);
            Font rcFont = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 1);

            controlManager.SetOptionsColor(optionColors);
            for (int i = 0; i < 5; i++)
            {
                //controlManager.Options[i].BackColor = optionColors[i];
                CustomRichTextBox customRichTextBox = new CustomRichTextBox();
                customRichTextBox.Font         = rcFont;
                customRichTextBox.LinkClicked += CustomRichTextBox_LinkClicked;
                customRichTextBox.Size         = new Size(1, 100);
                customRichTextBox.SetSelectionLineSpacing(4, 256);
                customRichTextBox.Dock       = DockStyle.Fill;
                customRichTextBox.ScrollBars = RichTextBoxScrollBars.Vertical;
                customRichTextBox.ReadOnly   = true;
                if (Program.ColorManager.SelectedScheme != null)
                {
                    customRichTextBox.BackColor = Program.ColorManager.SelectedScheme.TextBoxStyle.BackColor;
                    customRichTextBox.ForeColor = Program.ColorManager.SelectedScheme.TextBoxStyle.ForeColor;
                }
                tableLayoutPanel1.Controls.Add(customRichTextBox, 1, i);
                controlManager.AddEffect(customRichTextBox);
            }
        }
 public void AddEffect(CustomRichTextBox richTextBox)
 {
     Effects.Add(richTextBox);
     richTextBoxesHeight.Add(richTextBox.Height);
 }