Advertisement
idsystems

CPP_RAD_Ejercicio19

May 19th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.80 KB | None | 0 0
  1. /* ej19_InfoSystem
  2. Mostrar informacion del sistema */
  3. #include <radc++.h>
  4.  
  5. Form form1("Informacion del Sistema y Aplicacion - RAD C++ Ejemplo");
  6. RichTextBox txt("",AUTO_ID,0,0,10,10,form1);
  7.  
  8. FormProcedure proc(FormProcArgs) {
  9.     ON_CLOSE() Application.close();
  10.     ON_MOVE() {
  11.         form1.text = str(Application.ticks/1000) + ","+str(System.ticks/1000);
  12.     }
  13.    
  14.     return 0;
  15. }
  16.                
  17. rad_main()
  18.         form1.procedure = proc;
  19.  
  20.         txt.fitExact();
  21.         txt.text =  
  22.        
  23.             System.windowsFolder + "\n" +
  24.             System.systemFolder + "\n" +
  25.             System.currentFolder + "\n" +
  26.             System.computerName + "\n" +
  27.             System.userName + "\n" +
  28.             System.windowsVersion + "\n" +
  29.             Application.fileName + "\n" +
  30.             Application.path + "\n" +
  31.             Application.buildDate + "\n" +
  32.             Application.buildTime + "\n"
  33.         ;
  34. rad_end()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement