unit Unit8;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, MPlayer, ExtCtrls, StdCtrls, Buttons, jpeg;

type
  TForm8 = class(TForm)
    BitBtn1: TBitBtn;
    Image1: TImage;
    LabeledEdit1: TLabeledEdit;
    procedure Panel1Click(Sender: TObject);
    procedure BitBtn1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form8: TForm8;

implementation

{$R *.dfm}

procedure TForm8.Panel1Click(Sender: TObject);
begin
Form8.MediaPlayer1.Stop;
form8.Close;
end;

procedure TForm8.BitBtn1Click(Sender: TObject);
begin
 if labelededit1.Text='379' then
begin

groupbox4.Visible:=true;
bitbtn8.Visible:=true;
bitbtn9.Visible:=true;
bitbtn11.Visible:=true;
labelededit10.Visible:=false;
bitbtn7.Visible:=false;


end   else
showmessage('Не правильный пароль! Повторите попытку!') ;
end;

end.
