Pass text from a textbox on a dialogform to the listview on the main form.
Posted on 2011-09-05
I have a main form called MainForm and a dialog form called StickyNotes.
In the close or closing event of the form StickyNotes I want to put this line:
lvNotes.SelectedItems.Text = frmNote.textBox1.Text;
But the lvNotes is a listview that resides on the mainform
Who knows the solution?