P
Paul
Hi,
Suppose you had a listbox1 with 3 items;
Form1
Form2
Form3
Now add an event handler for listbox1.selectedindexchanged in which you wish
to create a new form instance depending on the value of the
SelectedItem.ToString value. i.e. If "Form3" is clicked then a new instance
of Form3 is created.
Assuming your project contains a windows form called "Form3" - how is this
achieved?
Thanks in advance,
Paul
Suppose you had a listbox1 with 3 items;
Form1
Form2
Form3
Now add an event handler for listbox1.selectedindexchanged in which you wish
to create a new form instance depending on the value of the
SelectedItem.ToString value. i.e. If "Form3" is clicked then a new instance
of Form3 is created.
Assuming your project contains a windows form called "Form3" - how is this
achieved?
Thanks in advance,
Paul