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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -