Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug #696

Open
qianyu427 opened this issue Oct 12, 2023 · 0 comments
Open

bug #696

qianyu427 opened this issue Oct 12, 2023 · 0 comments
Labels

Comments

@qianyu427
Copy link

ServerForm serverForm = new ServerForm(); serverForm.Show(dockPanel1); serverForm.DockTo(dockPanel1, DockStyle.Left); serverForm.DockPanel.DockLeftPortion = 0.2;
我使用这段代码的时候,运行后拖动悬浮的时候视图大小不是我设计的大小,

但是我使用以下代码时,虽然实现了上述悬浮时是设计的大小,但是每次打开视图都会在外面先显示一遍才会显示在容器里
ServerForm serverForm = new ServerForm(); serverForm.Show(dockPanel1,new Rectangle(100,100,serverForm.Width,serverForm.Height)); serverForm.DockTo(dockPanel1, DockStyle.Left); serverForm.DockPanel.DockLeftPortion = 0.2;

@lextm lextm added the question label Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants