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

Question: Client area of a DockContent #701

Open
lamazze opened this issue Apr 3, 2024 · 0 comments
Open

Question: Client area of a DockContent #701

lamazze opened this issue Apr 3, 2024 · 0 comments

Comments

@lamazze
Copy link

lamazze commented Apr 3, 2024

Hello all,
I've build a pretty simple projet:

  • A mainform with isMdiContainer to true
  • A childform which inherits from DockContent with a button at location 13,13

In the mainform FormLoad, I do the following:

var f = new Form2();
f.Dock = DockStyle.Fill;
f.Text = "Test 1";

f.Show(dockPanel1, DockState.Document);

f = new Form2();
f.Dock = DockStyle.Fill;
f.Text = "Test 2";

f.Show(dockPanel1, DockState.Document);

My "problem" is the button of the childform is partially hidden:

image

Am I missing something ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant