Beispiel #1
0
 void Read()
 {
     if (binding != null)
     {
         filePath = binding.GetRelativePath();
         UpdateInfo();
     }
     else
     {
         filePath = string.Empty;
         UpdateInfo();
     }
 }
Beispiel #2
0
 void Read()
 {
     if (binding != null)
     {
         filePath = binding.GetRelativePath();
         if (filePath.Length > 0)
         {
             UpdateInfo();
         }
         else
         {
         }
     }
     else
     {
         filePath = string.Empty;
     }
 }