Can't add form elements to splitContainer .

Writing:

  splitContainer1.Panel1.Controls.Add(button1); 

But the button remains behind the panel.

  • If possible, discard the project. I have a job. Were the button locations set? - Lada
  • Try this: splitContainer1.Panel1.Controls.Add(button1); button1.Left = 0; button1.Top = 0; splitContainer1.Panel1.Controls.Add(button1); button1.Left = 0; button1.Top = 0; - Lada

0