D
Darren Guy
Hello
I have a main form that has a tab control. Each tab will host a form
So after creating each child form, I run the following code to attach it to
a tab
frm.Owner = this;
frm.TopLevel = false;
frm.WindowState = FormWindowState.Maximized;
frm.FormBorderStyle = FormBorderStyle.None;
tab.Controls.Add(frm);
frm.Dock = DockStyle.Fill;
frm.Show();
My question is how do I raise an event on the child form so that the main
form can react to this event. Specifically I want the main form to know if
the child form displayed is editing or browsing data
Thanks in advance
Darren
I have a main form that has a tab control. Each tab will host a form
So after creating each child form, I run the following code to attach it to
a tab
frm.Owner = this;
frm.TopLevel = false;
frm.WindowState = FormWindowState.Maximized;
frm.FormBorderStyle = FormBorderStyle.None;
tab.Controls.Add(frm);
frm.Dock = DockStyle.Fill;
frm.Show();
My question is how do I raise an event on the child form so that the main
form can react to this event. Specifically I want the main form to know if
the child form displayed is editing or browsing data
Thanks in advance
Darren