C
C#10mo ago
Maycon

border style error c#

I am mirroring a user control within a panel like this:
private Optionals.Discord discord;



private void Discord()
{
discord= new Optionals.Discord();

discord.Dock = DockStyle.Top;

guna2Panel1.Controls.Add(discord);
}



public Form1()
{
InitializeComponent();
Discord();
}
private Optionals.Discord discord;



private void Discord()
{
discord= new Optionals.Discord();

discord.Dock = DockStyle.Top;

guna2Panel1.Controls.Add(discord);
}



public Form1()
{
InitializeComponent();
Discord();
}
It's working correctly, but my guna2panel1 has a border, and when I use this code to mirror the user control, the border disappears. Does anyone know of a solution? c# winforms .net
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server