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
Problem Arise only with placing MetroLabel in childForm
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
Problem Arise only with placing MetroLabel in childForm