添加定时器
void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
StatusBar1-> Panels-> Items[1]-> Text=Now().FormatString( "yyyy-mm-dd hh:nn:ss ");
}
添加定时器
void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
StatusBar1-> Panels-> Items[1]-> Text=Now().FormatString( "yyyy-mm-dd hh:nn:ss ");
}
转载于:https://www.cnblogs.com/cpprun/archive/2011/07/03/2660759.html