unit1.cpp

来自「show/change file attributes」· C++ 代码 · 共 27 行

CPP
27
字号
//---------------------------------------------------------------------------

#include <vcl.h>
#include <dos.h>
#pragma hdrstop

#include "Unit1.h"
#include "beijik.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------

__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
//Form2->ShowModal();
GetLocalTime(&systime);
AnsiString str=TimeToStr(SystemTimeToDateTime(systime))+" "+IntToStr(systime.wMilliseconds)+"";
Label3->Caption=str;
}

//----------------------------------------------------------
void ListFiles(AnsiString path, TStrings* List)
{
// 蒡

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?