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 -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -