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

Problem With Placing A MetroLabel in Child Form in MetroTabControl(ModernUI) #133

Open
aamkaachaar opened this issue Jul 27, 2022 · 0 comments

Comments

@aamkaachaar
Copy link

Hi,
I am Using a metrotile to load a childform in current tabpage index of a Dashboard form ... Things Goes well as far as i dont use any label into my ChildForm but if i place a Label into my child Form the childform loads with current content of metrotabpage. i dont know if it is bug or i m doing some mistake ..
code used by me on Metrotile Click :
ChildForm1 cf1 = new ChildForm1();
cf1.TopLevel = false;
int pos = metroTabControl1.SelectedIndex;
TabPage tp = metroTabControl1.TabPages[pos];
tp.Controls.Add(cf1);
cf1.WindowState = FormWindowState.Maximized;
cf1.Dock = DockStyle.Fill;
cf1.Show();
same for ChildForm2
both childform shadowtype is set to none in properties
i am attaching Images of Problem Faced

image1
image2
Image3
image4

Problem Arise only with placing MetroLabel in childForm

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