Цитата: Владимир от 02.05.2021, 20:38
Решил так:
Panel pnl = new Panel();
pnl.Size = new Size(375, 30);
ServicesPanel.Controls.Add(pnl);
Label lbl = new Label();
pnl.Controls.Add(lbl);
Guna.UI2.WinForms.Guna2Button btn = new Guna.UI2.WinForms.Guna2Button();
btn.BorderRadius = 10;
btn.Size = new Size(510, 44);
pnl.Controls.Add(btn);
Решил так:
Panel pnl = new Panel();
pnl.Size = new Size(375, 30);
ServicesPanel.Controls.Add(pnl);
Label lbl = new Label();
pnl.Controls.Add(lbl);
Guna.UI2.WinForms.Guna2Button btn = new Guna.UI2.WinForms.Guna2Button();
btn.BorderRadius = 10;
btn.Size = new Size(510, 44);
pnl.Controls.Add(btn);