Delphi pat

This commit is contained in:
zastian00@gmail.com
2019-07-31 19:45:44 +02:00
parent 98c05db9ab
commit b40015afed
27 changed files with 4774 additions and 0 deletions

58
V-0.2/Business_u.pas Normal file
View File

@@ -0,0 +1,58 @@
unit Business_u;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Imaging.pngimage,
Vcl.ExtCtrls,UserLogin_u,AdminAdd_u;
type
TfrmBusiness = class(TForm)
Image1: TImage;
Button1: TButton;
Button2: TButton;
procedure Button2Click(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure close();
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmBusiness: TfrmBusiness;
implementation
{$R *.dfm}
procedure TfrmBusiness.Button1Click(Sender: TObject);
begin
frmBusiness.Hide;
FrmAdminAdd.Show;
end;
procedure TfrmBusiness.Button2Click(Sender: TObject);
begin
frmUserLogin:= TfrmUserLogin.Create(nil);
frmUserLogin.show;
frmBusiness.hide;
end;
procedure TfrmBusiness.close;
begin
frmUserLogin.free;
frmBusiness.show;
end;
procedure TfrmBusiness.FormClose(Sender: TObject; var Action: TCloseAction);
begin
Application.Terminate;
end;
end.