#include #pragma hdrstop #include "Unit2.h" #include "Unit1.h" #include #pragma package(smart_init) #pragma resource "*.dfm" TForm2 *Form2; __fastcall TForm2::TForm2(TComponent* Owner) : TForm(Owner) { } void __fastcall TForm2::Button1Click(TObject *Sender) { Form1->Panel1->Enabled = false; Form1->Panel1->Enabled = true; Form2->Close(); } void __fastcall TForm2::Label4Click(TObject *Sender) { ShellExecute(NULL, "open", "http://www23.brinkster.com/ozersenturk/projects.htm", NULL,NULL, SW_SHOWMAXIMIZED); } //---------------------------------------------------------------------------