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?