WebNewTenderFrm.pas 684 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. unit WebNewTenderFrm;
  2. interface
  3. uses
  4. Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  5. Dialogs, StdCtrls;
  6. type
  7. TWebNewTenderForm = class(TForm)
  8. btnOK: TButton;
  9. btnCancel: TButton;
  10. lbl1: TLabel;
  11. edtKey: TEdit;
  12. lbl2: TLabel;
  13. edtTenderName: TEdit;
  14. procedure FormCreate(Sender: TObject);
  15. private
  16. { Private declarations }
  17. public
  18. { Public declarations }
  19. end;
  20. implementation
  21. uses ConstUnit;
  22. {$R *.dfm}
  23. procedure TWebNewTenderForm.FormCreate(Sender: TObject);
  24. begin
  25. if G_IsTest then
  26. begin
  27. edtKey.Text := '31kyI7UwUI'; // ±¾µØ
  28. edtTenderName.Text := FormatDateTime('yyyymmdd_', Now);
  29. end;
  30. end;
  31. end.