FirstTime.pas
上传用户:dh8233980
上传日期:2014-10-16
资源大小:1015k
文件大小:2k
源码类别:

Email服务器

开发平台:

Delphi

  1. unit FirstTime;
  2. (******************************************************************************)
  3. (*                                                                            *)
  4. (* Hermes First Timer Read Me Dialog Box                                      *)
  5. (* Part of Hermes SMTP/POP3 Server.                                           *)
  6. (* Copyright(C) 2000 by Alexander J. Fanti, All Rights Reserver Worldwide.    *)
  7. (*                                                                            *)
  8. (* Created January 28, 2000 by Alexander J. Fanti.  See License.txt           *)
  9. (*                                                                            *)
  10. (* Used by: Main                                                              *)
  11. (* Uses: Main (to open settings dialog)                                       *)
  12. (*                                                                            *)
  13. (* Description: This dialog window tells the first time user the minimum they *)
  14. (*              need to do to get the server operating.                       *)
  15. (*                                                                            *)
  16. (******************************************************************************)
  17. interface
  18. uses
  19.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  20.   StdCtrls;
  21. type
  22.   TfrmFirstTime = class(TForm)
  23.     Label1: TLabel;
  24.     Label3: TLabel;
  25.     Label4: TLabel;
  26.     Label5: TLabel;
  27.     Label6: TLabel;
  28.     Label7: TLabel;
  29.     lblGeneralSettings: TLabel;
  30.     btnClose: TButton;
  31.     procedure lblGeneralSettingsClick(Sender: TObject);
  32.     procedure btnCloseClick(Sender: TObject);
  33.     procedure FormClose(Sender: TObject; var Action: TCloseAction);
  34.   private
  35.     { Private declarations }
  36.   public
  37.     { Public declarations }
  38.   end;
  39. //var
  40. //  frmFirstTime: TfrmFirstTime;
  41. implementation
  42. uses Main;
  43. {$R *.DFM}
  44. procedure TfrmFirstTime.lblGeneralSettingsClick(Sender: TObject);
  45. begin
  46.   frmMain.mnuSGeneral.Click;
  47.   Close;
  48. end;
  49. procedure TfrmFirstTime.btnCloseClick(Sender: TObject);
  50. begin
  51.   Close;
  52. end;
  53. procedure TfrmFirstTime.FormClose(Sender: TObject;
  54.   var Action: TCloseAction);
  55. begin
  56.   Action := caFree;
  57. end;
  58. end.