home *** CD-ROM | disk | FTP | other *** search
- unit Unit2;
-
- interface
-
- uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
- Buttons;
-
- type
- TForm2 = class(TForm)
- Label1: TLabel;
- OKBtn: TBitBtn;
- CancelBtn: TBitBtn;
- Label2: TLabel;
- Edit1: TEdit;
- Edit2: TEdit;
- procedure OKBtnClick(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form2: TForm2;
- User_Name, User_Pass : String;
-
-
- implementation
-
- {$R *.DFM}
-
- procedure TForm2.OKBtnClick(Sender: TObject);
- begin
- User_Name := Edit1.Text;
- User_Pass := Edit2.Text;
- end;
-
- end.
-
-