Making multiple forms appear as one in VB.NET

后端 未结 4 1843
囚心锁ツ
囚心锁ツ 2021-01-23 16:11

I am writing a Windows Forms application in VB.NET. I have three forms: the main form, which shows a list of accounts, the account form which allows the user to view/edit the in

4条回答
  •  孤独总比滥情好
    2021-01-23 17:13

    As others have said, it may be better to redesign your application using custom controls or panels etc.

    However, to answer your question regarding the seemingly random location of your forms, the first thing to check is that each form has it's StartPosition property set to Manual.

    If your main form is resizable, then I would also add code to adjust newForm to the same size too.

    I hope that helps with your immediate issues; so that you can move on to redesigning the application!

提交回复
热议问题