Accueil > > > CALCULATRICE
CALCULATRICE
Information sur la source
Description
Calculatrice , faire des petit cacule merdique pour gagner au quizz lol , dans les remotes :)
Source
- ; Calaculatrice Offert Par Le_Mec ® ;
- alias calc { if (!$dialog(calc)) { dialog -mdr calc calc } }
- dialog calc {
- title "Calculatrice"
- size -1 -1 235 200
- menu "Fichier"
- item "Fermer", 1, ok
- edit "", 2, 5 5 225 20, read, autohs
- button "(", 3, 15 30 50 20
- button ")", 4, 65 30 50 20
- button "Effacer", 5, 115 30 50 20
- button "7", 6, 15 50 50 20
- button "8", 7, 65 50 50 20
- button "9", 8, 115 50 50 20
- button "4", 9, 15 70 50 20
- button "5", 10, 65 70 50 20
- button "6", 11, 115 70 50 20
- button "1", 12, 15 90 50 20
- button "2", 13, 65 90 50 20
- button "3", 14, 115 90 50 20
- button "0", 15, 15 110 50 20
- button ".", 16, 65 110 50 20
- button "+", 17, 175 30 50 20
- button "-", 18, 175 50 50 20
- button "*", 19, 175 70 50 20
- button "/", 20, 175 90 50 20
- button "=", 21, 115 110 110 20
- box "Convertir", 22, 15 140 130 50
- button "?uro", 23, 30 158 50 20
- button "Franc", 24, 80 158 50 20
- button "Fermer", 25, 155 158 70 25, cancel
- box "", 26, -20 -20 700 21
- }
- on *:dialog:calc:menu:*: { if ($did == 1) { dialog -x calc calc } }
- on *:dialog:calc:sclick:*: {
- if ($did == 3) { did -a calc 2 ( }
- if ($did == 4) { did -a calc 2 ) }
- if ($did == 5) { did -r calc 2 }
- if ($did == 6) { did -a calc 2 7 }
- if ($did == 7) { did -a calc 2 8 }
- if ($did == 8) { did -a calc 2 9 }
- if ($did == 9) { did -a calc 2 4 }
- if ($did == 10) { did -a calc 2 5 }
- if ($did == 11) { did -a calc 2 6 }
- if ($did == 12) { did -a calc 2 1 }
- if ($did == 13) { did -a calc 2 2 }
- if ($did == 14) { did -a calc 2 3 }
- if ($did == 15) { did -a calc 2 0 }
- if ($did == 16) { did -a calc 2 . }
- if ($did == 17) { did -a calc 2 + }
- if ($did == 18) { did -a calc 2 - }
- if ($did == 19) { did -a calc 2 * }
- if ($did == 20) { did -a calc 2 / }
- if ($did == 21) { did -ra calc 2 $calc($did(2)) }
- if ($did == 23) { did -ra calc 2 $calc($calc($did(2)) / 6.55957) }
- if ($did == 24) { did -ra calc 2 $calc($calc($did(2)) * 6.55957) }
- }
-
; Calaculatrice Offert Par Le_Mec ® ;
alias calc { if (!$dialog(calc)) { dialog -mdr calc calc } }
dialog calc {
title "Calculatrice"
size -1 -1 235 200
menu "Fichier"
item "Fermer", 1, ok
edit "", 2, 5 5 225 20, read, autohs
button "(", 3, 15 30 50 20
button ")", 4, 65 30 50 20
button "Effacer", 5, 115 30 50 20
button "7", 6, 15 50 50 20
button "8", 7, 65 50 50 20
button "9", 8, 115 50 50 20
button "4", 9, 15 70 50 20
button "5", 10, 65 70 50 20
button "6", 11, 115 70 50 20
button "1", 12, 15 90 50 20
button "2", 13, 65 90 50 20
button "3", 14, 115 90 50 20
button "0", 15, 15 110 50 20
button ".", 16, 65 110 50 20
button "+", 17, 175 30 50 20
button "-", 18, 175 50 50 20
button "*", 19, 175 70 50 20
button "/", 20, 175 90 50 20
button "=", 21, 115 110 110 20
box "Convertir", 22, 15 140 130 50
button "?uro", 23, 30 158 50 20
button "Franc", 24, 80 158 50 20
button "Fermer", 25, 155 158 70 25, cancel
box "", 26, -20 -20 700 21
}
on *:dialog:calc:menu:*: { if ($did == 1) { dialog -x calc calc } }
on *:dialog:calc:sclick:*: {
if ($did == 3) { did -a calc 2 ( }
if ($did == 4) { did -a calc 2 ) }
if ($did == 5) { did -r calc 2 }
if ($did == 6) { did -a calc 2 7 }
if ($did == 7) { did -a calc 2 8 }
if ($did == 8) { did -a calc 2 9 }
if ($did == 9) { did -a calc 2 4 }
if ($did == 10) { did -a calc 2 5 }
if ($did == 11) { did -a calc 2 6 }
if ($did == 12) { did -a calc 2 1 }
if ($did == 13) { did -a calc 2 2 }
if ($did == 14) { did -a calc 2 3 }
if ($did == 15) { did -a calc 2 0 }
if ($did == 16) { did -a calc 2 . }
if ($did == 17) { did -a calc 2 + }
if ($did == 18) { did -a calc 2 - }
if ($did == 19) { did -a calc 2 * }
if ($did == 20) { did -a calc 2 / }
if ($did == 21) { did -ra calc 2 $calc($did(2)) }
if ($did == 23) { did -ra calc 2 $calc($calc($did(2)) / 6.55957) }
if ($did == 24) { did -ra calc 2 $calc($calc($did(2)) * 6.55957) }
}
Conclusion
1er Version , amusez vous bien
Sources du même auteur
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
SESSION SILVERLIGHT 5 3D : SLIDES ET DEMOSSESSION SILVERLIGHT 5 3D : SLIDES ET DEMOS par Groc
Durant les techdays, j'ai eu le plaisir d'animer une session sur Silverlight 5 et la 3D avec Simon Ferquel. Comme promis, voici nos slides et mes démos (celles avec le viper BSG) ici et là. Pour mémoire, les démos utilisent toutes le viper BSG...
Cliquez pour lire la suite de l'article par Groc [TECHDAYS 2012] SESSION WEBMATRIX 2 : LE COUTEAU SUISSE GRATUIT POUR VOS DéVELOPPEMENTS WEB - SLIDES[TECHDAYS 2012] SESSION WEBMATRIX 2 : LE COUTEAU SUISSE GRATUIT POUR VOS DéVELOPPEMENTS WEB - SLIDES par gpommier
Suite à la session que j'ai présenté sur WebMatrix 2, vous pouvez trouver les slides ici, ainsi que les démos en packages nuget : démos1 et démos2 J'en profite pour remercier chaleureusement tous ceux qui sont venus très nombreux à cette sess...
Cliquez pour lire la suite de l'article par gpommier [SHAREPOINT] LES SESSIONS TECHDAYS 2012.[SHAREPOINT] LES SESSIONS TECHDAYS 2012. par Patrick Guimonet
Voici donc pour ceux qui n'ont pas pu venir, ou ceux qui n'ont pas pu toutes les suivre la liste des sessions SharePoint aux TechDays 2012, que je mettrais à jour dès que les liens des vidéo seront disponibles. Ou ici : http...
Cliquez pour lire la suite de l'article par Patrick Guimonet TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3 par ROMELARD Fabrice
Speaker: Bernard Ourghanlian Cette session est comme chaque jour transmise en live par BrainSonic, et j'ai donc suivi cette troisième pleinière par ce moyen sur mon iPad . Elle est dédiée comme chaque année à la mise en perspective de l'é...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE !MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE ! par Vko
Hier durant une session dédiée aux Techdays 2012, j'ai eu le plaisir d'annoncer la sortie de la Béta 2 de Mishra Reader. C'est quoi ? Pour les utilisateurs, c'est une vraie expérience de lecture de flux RSS sur Windows. Rien à voir avec les produit...
Cliquez pour lire la suite de l'article par Vko
Forum
RE : AIDERE : AIDE par Nico26000
Cliquez pour lire la suite par Nico26000 RE : AIDERE : AIDE par WorldDMT
Cliquez pour lire la suite par WorldDMT AIDEAIDE par Nico26000
Cliquez pour lire la suite par Nico26000
Logiciels
Tribler (2012)TRIBLER (2012)Tribler est un client pair à pair (P2P/Peer-to-Peer) open source avec la capacité de regarder des... Cliquez pour télécharger Tribler OneSwarm (2012)ONESWARM (2012)Le peer-to-peer qui protège votre vie privée, c'est OneSwarm.
Ce logiciel de peer-to-peer crypté... Cliquez pour télécharger OneSwarm PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System Easy-Planning (1.0.0.1)EASY-PLANNING (1.0.0.1)Basé sur les mêmes principes que MyPlanning, Easy-Planning permet de créer des plannings sous la ... Cliquez pour télécharger Easy-Planning
|