private void MyUserControl_MouseEnter(object sender, EventArgs e)
        {
            MyUserControl myUserControl = (MyUserControl)sender;

            Debug.WriteLine(
                "MouseEnter Detected: " + myUserControl.Name +
                " - Value of Codigo is: " + myUserControl.Codigo);
        }
        protected override void OnHandleCreated(EventArgs e)
        {
            base.OnHandleCreated(e);
            Controls.Add(tableLayoutPanel1);
            int row, column;

            for (int count = 0; count < 12; count++)
            {
                row = count / 4; column = count % 4;

                MyUserControl myUserControl = new MyUserControl();
                myUserControl.Name        = "MyUserControl_" + count.ToString("D2"); // Name it! (Default is "")
                myUserControl.MouseEnter += MyUserControl_MouseEnter;                // Hook the MouseEnter here
                myUserControl.Codigo      = 1000 + count;                            // Example to set Codigo

                tableLayoutPanel1.Controls.Add(myUserControl, column, row);
            }
        }