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

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -