observablecollection - format Observablecollecting<string> of file paths -


im running program copies text of txt file textbox. can save edited text original text file. have combobox, has itemssource of obsevablecollection, containg filepaths of files have been opened already. format each entry whole path starting on c://.

id format text file name, can me?

observablecollection<string> lastusedfiles= observablecollection<string>();     public mainwindow()     {         initializecomponent();         combobox.itemssource = lastusedfiles;     } 


Comments

Popular posts from this blog

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -

angular - DownloadURL return null in below code -