Inheritance: System.Windows.Forms.UserControl
        private void CreateNewDemoFile(int i, ExampleFile file)
        {
            var ctrl = new FileRenderer(file);
            ctrl.Dock = DockStyle.Fill;
            if (i > tableLayoutPanel1.RowCount)
            {
                tableLayoutPanel1.RowCount++;
                tableLayoutPanel1.Controls.Add(ctrl, 0, tableLayoutPanel1.RowCount - 1);
            }
            else
            {
                tableLayoutPanel1.Controls.Add(ctrl, 0, i);

            }
        }