Answers for "c# an object on upper level cannot be added to an object"

C#
0

c# an object on upper level cannot be added to an object

private void frmInitialEntryBooks_Load(object sender, EventArgs e)
{
    frmSujbect objForm = new frmSujbect();
    objForm.TopLevel = false;
    pnl.Controls.Add(objForm);
    objForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
    objForm.Dock = DockStyle.Fill;
    objForm.Show();
}
Posted by: Guest on October-27-2020

Code answers related to "c# an object on upper level cannot be added to an object"

C# Answers by Framework

Browse Popular Code Answers by Language