unit1.h
来自「CMOS数据的写程序」· C头文件 代码 · 共 47 行
H
47 行
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
#include "WinSkinData.hpp"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TEdit *Edit1;
TTimer *Timer1;
TEdit *Edit2;
TEdit *Edit3;
TButton *Button2;
TButton *Button3;
TOpenDialog *dlgOpen1;
TLabel *Label2;
TLabel *Label3;
void __fastcall FormShow(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
void __fastcall Button1Click(TObject *Sender);
void __fastcall ShowTimer(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
private: // User declarations
void __fastcall ReadRTC(void);
void __fastcall ReadComs(void);
void __fastcall WriteComs(void);
BYTE Timer[3];
BYTE CMOSData[128];
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?