Just a quick question which I am hoping somebody can help me with.
Currently I have 4 forms called frm1 -> frm4
Each form opens the next form using the following code until all four forms are open on the screen with the latest one, frm4, being the modal form.
using (Form(2-4)Type frm(2-4) = new Form(2-4)Type())
{
frm(2-4).showDialog();
}
What I would like is for frm2toopen from frm1 and frm3 to open from frm2 buth when frm 4 is generated from frm3 I would like forms 2 & 3 to close leaving just 1 & 4. Can anybody help? If I try to close or hide any of the forms then any previous forms in the chain disappear completely.
Thank you to anybody taking the time to read this.
-Gary