www.pudn.com > 2.rar > StudentUnit2.cpp
//--------------------------------------------------------------------------- #include#pragma hdrstop #include "StudentUnit2.h" #include "StudentUnit3.h" //++ #include "StudentUnit4.h" //++ //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm2 *Form2; //--------------------------------------------------------------------------- __fastcall TForm2::TForm2(TComponent* Owner) : TForm(Owner) { } //--------------------------------------------------------------------------- void __fastcall TForm2::Label1Click(TObject *Sender) { Close(); } //--------------------------------------------------------------------------- void __fastcall TForm2::RadioButton2Click(TObject *Sender) { Form4->ShowModal(); } //--------------------------------------------------------------------------- void __fastcall TForm2::RadioButton1Click(TObject *Sender) { Form3->ShowModal(); } //---------------------------------------------------------------------------