Exemplo n.º 1
0
 private void GetCurrentlySelectedFileName()
 {
     if (CurrentList.Count > 0 && cursorX >= CurrentList.Count())
     {
         CurrentlySelectedFile = FileNames[cursorX - CurrentList.Count];
         if (ChangeItem != null)
         {
             ChangeItem();
         }
     }
     else if (CurrentlySelectedFile != "")
     {
         CurrentlySelectedFile = "";
         if (ChangeItem != null)
         {
             ChangeItem();
         }
     }
 }