I am attempting to add a string from frmAddSegment to the listbox in frmMain. frmMain is open when doing this process, just for some reason the string is not being added to the listbox.
I've checked the string I'm attempting to add the listbox by using a message box and it is working fine, it's just not getting to the lsitbox. The modifier property on the listbox has also been set to public
frmMain fmain = new frmMain();
fmain.lstbxSegments.Items.Add(segmentPBMin.ToString()+":"+segmentPBMin.ToString()+"."+segmentPBMils);
I expected the listbox to contain a new item however it remains blank.