Advertisement
patryk

Untitled

Nov 16th, 2013
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. unit Unit1;
  2.  
  3. interface
  4.  
  5. uses
  6. Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  7. Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
  8.  
  9. type
  10. TForm1 = class(TForm)
  11. Panel1: TPanel;
  12. LBImie: TListBox;
  13. Label1: TLabel;
  14. Label2: TLabel;
  15. Label3: TLabel;
  16. Label4: TLabel;
  17. Label5: TLabel;
  18. Label6: TLabel;
  19. LBNazwisko: TListBox;
  20. LBData: TListBox;
  21. LBUlica: TListBox;
  22. LBNr: TListBox;
  23. LBID: TListBox;
  24. Edit1: TEdit;
  25. Edit2: TEdit;
  26. Edit3: TEdit;
  27. Edit4: TEdit;
  28. Edit5: TEdit;
  29.  
  30. //----[Deklaracja rekordu]----------
  31. type Pacjenci = ^TPacjenci;
  32. TPacjenci = record
  33. Next: Pacjenci;
  34. imie: String[20];
  35. nazwisko: String[20];
  36. data_ur: String[11];
  37. ulica: String[15];
  38. nr_dom: String[6];
  39. id_lek: String[4];
  40. end;
  41.  
  42. private
  43. { Private declarations }
  44. public
  45. Root: Pacjenci;
  46. Last: Pacjenci;
  47. end;
  48.  
  49. //------------------------------------------------
  50.  
  51.  
  52. var Form1: TForm1;
  53. TF: TextFile;
  54. NewOne: Pacjenci;
  55. AtList: Pacjenci;
  56.  
  57. implementation
  58.  
  59. {$R *.dfm}
  60.  
  61. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement