Files
winapp/InfoFrameUnit.cpp
2026-06-12 22:37:02 +08:00

24 lines
734 B
C++

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "InfoFrameUnit.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TInfoFrame *InfoFrame;
//---------------------------------------------------------------------------
__fastcall TInfoFrame::TInfoFrame(TComponent* Owner)
: TFrame(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TInfoFrame::FrameResize(TObject *Sender)
{
m_panInfo1->Width = Width - 4;
m_panInfo2->Width = Width - 4;
}
//---------------------------------------------------------------------------