Esempio n. 1
0
 private void applyPath()
 {
     if (obj != null && !path.Equals(""))
     {
         if (obj.type == Constant.imageFile)
         {
             obj.setImage(path);
             creator.changed = true;
         }
         else if (obj.type == Constant.soundFile)
         {
             obj.playerControl.setFile(path);
             creator.changed = true;
         }
     }
 }