Jump to content

Buton Ile Label'e Oto Geri Sayım


UgurOzturk
 Share

Recommended Posts

Yapmak istediğim basit aslında fakat araştırsam da Geri sayım üzerine konu açıldığını göremedim , Timer ya da progress'i de araştırdım fakat yardıma ihtiyacım var.

[url][url]http://www.dosya.tc/server21/1WwxM2/Gerisay_m.rar.html[/url] ([/url] Kodsuz bir şekilde rar'lı Resimde ki şekilde )


Yapmak istediğim ;

-Dust'a basıldığın da yanında ki " -- : -- " değer , " 70 : 00 " (dk : sn) olup geri sayımın başlamasını ,
-Watering'e basıldığın da yanında ki " -- : -- " değer , " 65 : 00 " (dk : sn) olup geri sayımın başlamasını

-Watering geri sayım bittikten sonra yukar da ki " 0 " değerinin 1 artmasını

-Geri sayımlar bittikten sonra arda ki kısa bir windows ses dosyası ve ya mp3 uyarı sesi çıkartması

[img]http://a1209.hizliresim.com/11/6/cqc5f.png[/img]


Kodların ne olucağını ve nereye yazılacağını yardımcı olabilicek , yardım severlere ihtiyacım var Edited by taran9313
Link to comment
Share on other sites

Buyur Butona

Page.StartTimer(1000);
Label.SetText("Label1", "70");
Label.SetText("Label2", "59");

Ontimer


Page.StartTimer(1000);
aa1 = Label.GetText("Label1");
aa2 = Label.GetText("Label2");
aa3 = Label.GetText("Label3");
Label.SetText("Label2", aa2-1);
if aa2 == "0" then
Label.SetText("Label2", "59");
Label.SetText("Label3", aa3+1);
end

Link to comment
Share on other sites

[font=tahoma,geneva,sans-serif]İstediğiniz şekilde örnek hazırladım, burdan indirebilirsiniz ;[/font]

[CODE]
http://www.mediafire.com/?70geaoetpewdd3o
[/CODE]

[font=tahoma,geneva,sans-serif]Windows'un beep sesini çıkarmak için birşeyler buldum. Aşağıdaki kod ile beep sesini çaldırabilirsiniz. Örnekte Audio.Load yazdığım satırı bununla değiştirebilirsiniz ;[/font]

[CODE]
DLL.CallFunction("kernel32.dll", "Beep", "500,1000", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
[/CODE]

Edited by DivaneTR
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...