www.pudn.com > winamp_control.zip > Unit2.cpp


//--------------------------------------------------------------------------- 
 
#include  
#pragma hdrstop 
 
#include "Unit2.h" 
//--------------------------------------------------------------------------- 
#pragma package(smart_init) 
#pragma resource "*.dfm" 
TForm2 *Form2; 
//--------------------------------------------------------------------------- 
__fastcall TForm2::TForm2(TComponent* Owner) 
        : TForm(Owner) 
{ 
} 
//--------------------------------------------------------------------------- 
void __fastcall TForm2::FormResize(TObject *Sender) 
{ 
  Form2->Left=Screen->DesktopWidth-150-Form2->Width; 
  Form2->Top=Screen->DesktopHeight-20; 
} 
//---------------------------------------------------------------------------