I am new to C# and am working on a C# Windows Forms application in Visual Studio and want to dynamically replace existing panel A in Form with another panel B.
One of the ways this can be achieved is by placing panels on one another such that their upper left corners overlap each other. But this approach makes it difficult to make changes to panels placed beneath.
I have done this type of work in Java but haven't found any solution for Windows Forms.