📄 devicetimeinputunit.h
字号:
//---------------------------------------------------------------------------
#ifndef DeviceTimeInputUnitH
#define DeviceTimeInputUnitH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BaseInputUnit.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TDeviceTimeInputFrm : public TBaseDataInputFrm
{
__published: // IDE-managed Components
TDateTimePicker *dtpDate;
TDateTimePicker *dtpTime;
TLabel *Label1;
TLabel *Label2;
TEdit *edtDeviceName;
TBevel *Bevel1;
void __fastcall bbtnOKClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
private:
SYSTEMTIME SetTime;
public:
bool GetSetTime(SYSTEMTIME& oSetTime);
void SetDeviceName(char* iDeviceName);
__fastcall TDeviceTimeInputFrm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TDeviceTimeInputFrm *DeviceTimeInputFrm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -