I got a clue:
In the variable here, if want to apply any function just call like this :
string iFileName = uriSource.ToString();
then pass i to the functions, for example:
Roate90(string Filname)
{
}
Do the same in the SelctionChaneg Event handler, is it agood idea?