Advertisement
Guest User

Untitled

a guest
May 25th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.09 KB | None | 0 0
  1. //---------------------------------------------------------------------------
  2.  
  3. #include <vcl.h>
  4. #pragma hdrstop
  5.  
  6. #include "Unit1.h"
  7. #include "Unit2.h"
  8. //---------------------------------------------------------------------------
  9. #pragma package(smart_init)
  10. #pragma resource "*.dfm"
  11. TForm1 *Form1;
  12. //---------------------------------------------------------------------------
  13. __fastcall TForm1::TForm1(TComponent* Owner)
  14.     : TForm(Owner)
  15. {
  16. }
  17. //---------------------------------------------------------------------------
  18.  
  19.  
  20.  
  21. void __fastcall TForm1::Button1Click(TObject *Sender)
  22. {
  23. zapolnenie(StringGrid1);    
  24. }
  25. //---------------------------------------------------------------------------
  26. void __fastcall TForm1::Button2Click(TObject *Sender)
  27. {
  28. vector(StringGrid1,StringGrid2);
  29. }
  30. //---------------------------------------------------------------------------
  31. void __fastcall TForm1::Button3Click(TObject *Sender)
  32. {
  33. Label1->Caption="Сумма модулей " + FloatToStr(summaModuley(StringGrid1));
  34. }
  35. //---------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement