uselectcom.pas 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. unit uSelectCom;
  2. {$mode objfpc}{$H+}
  3. interface
  4. uses
  5. Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ButtonPanel,
  6. StdCtrls, EditBtn, ExtCtrls, MCSLSU;
  7. type
  8. { TfrmSelectCom }
  9. TfrmSelectCom = class(TForm)
  10. ButtonPanel1: TButtonPanel;
  11. cbServices: TComboBox;
  12. Label1: TLabel;
  13. Label2: TLabel;
  14. Label3: TLabel;
  15. procedure ButtonPanel1Click(Sender: TObject);
  16. procedure FormCreate(Sender: TObject);
  17. procedure FormShow(Sender: TObject);
  18. private
  19. { private declarations }
  20. public
  21. { public declarations }
  22. end;
  23. var
  24. frmSelectCom: TfrmSelectCom;
  25. implementation
  26. {$R *.lfm}
  27. { TfrmSelectCom }
  28. var lsuCode : integer;
  29. procedure TfrmSelectCom.FormCreate(Sender: TObject);
  30. begin
  31. MCSLSU.MakeForm('frmSelectCom', 'ID_', frmSelectCom );
  32. end;
  33. procedure TfrmSelectCom.ButtonPanel1Click(Sender: TObject);
  34. begin
  35. end;
  36. procedure TfrmSelectCom.FormShow(Sender: TObject);
  37. begin
  38. MCSLSU.MakeForm('frmSelectCom', 'ID_', frmSelectCom );
  39. end;
  40. end.