I have 2 pages. Page A and Page B. Page A has a ListBox. In Page A I've binded my Listbox to my ObservableCollectionand when I load Page A all the items are added. The loading is added into the
public p_Menu()
{
InitializeComponent();
}
This runs only once unless closed and reopened. (They are added by reading a folder through For each.. and then are added to the listbox). in Page A i have a button which takes me to Page B. From Page B I fill stuff in, it creates a file in a directory (this is the diretory which the for each reads and loads to the listbox) and when I go back, the listbo…