Jump to content

pairs

Editor
  • Posts

    2516
  • Joined

  • Last visited

  • Days Won

    24

Posts posted by pairs

  1. if nRating == 0 and nRating > 0 and nRating < 1 then

    bu kodu inceleyelim :

    eğer rating sıfıra eşit ve sıfırdan büyük ve birden küçükse demişsin programın kafasını karıştırmışsın :D

    MediaInfo.Open(path);
    Rating = MediaInfo.General("Rating");
    nRating = String.ToNumber(Rating);

    if nRating == 0 then
    Image.Load("Ratingg", "AutoPlay\\Images\\0.png");
    elseif nRating == 1 then
    Image.Load("Ratingg", "AutoPlay\\Images\\1.png");
    elseif nRating == 2 then
    Image.Load("Ratingg", "AutoPlay\\Images\\2.png");
    elseif nRating == 3 then
    Image.Load("Ratingg", "AutoPlay\\Images\\3.png");
    elseif nRating == 4 then
    Image.Load("Ratingg", "AutoPlay\\Images\\4.png");
    elseif nRating == 5 then
    Image.Load("Ratingg", "AutoPlay\\Images\\5.png");
    end

    Bu şekilde olması lazım.

×
×
  • Create New...