I have a windows form running a thread which reads a string and showing it in text boxes.
It has start - stop buttons to start showing words in the text boxes within the window Main_Form
.
now, i need to create an opening form that handle the start stop. when you press start the same thing should happen, but Main_Form
could be closed
you have a button to open the Main_Form
and see the text boxes change
it only works when i type:
m_mf = new Main_Form();
m_mf.Show();
m_mf.start();
if i type
m_mf.Visible = false;
or close the Main Form window the program kills itself