public MidiViewer()
        {
            InitializeComponent();

            bmpRenderer = new BmpRenderer("bmpRenderer", SmoothingMode.None);
            bmpRenderer.Location = new Point(Data1Renderer.Data1TextWidth, 0);

            bmpRenderer.SizeMode = PictureBoxSizeMode.Normal;

            this.contentPanel.Controls.Add(bmpRenderer);
            bmpRenderer.Dock = DockStyle.Fill;

            data1Renderer = new Data1Renderer("data1Renderer");

            data1Renderer.InitData1Renderer(this, contentPanel, bmpRenderer);
            data1Renderer.Location = new Point(0, 0);
            data1Renderer.Dock = DockStyle.Left;
            data1Renderer.SizeMode = PictureBoxSizeMode.Normal;
            this.contentPanel.Controls.Add(data1Renderer);

            data1Renderer.BringToFront();
        }
        public MidiViewer()
        {
            InitializeComponent();


            bmpRenderer          = new BmpRenderer("bmpRenderer", SmoothingMode.None);
            bmpRenderer.Location = new Point(Data1Renderer.Data1TextWidth, 0);

            bmpRenderer.SizeMode = PictureBoxSizeMode.Normal;

            this.contentPanel.Controls.Add(bmpRenderer);
            bmpRenderer.Dock = DockStyle.Fill;

            data1Renderer = new Data1Renderer("data1Renderer");

            data1Renderer.InitData1Renderer(this, contentPanel, bmpRenderer);
            data1Renderer.Location = new Point(0, 0);
            data1Renderer.Dock     = DockStyle.Left;
            data1Renderer.SizeMode = PictureBoxSizeMode.Normal;
            this.contentPanel.Controls.Add(data1Renderer);


            data1Renderer.BringToFront();
        }