📄 serverunit.h
字号:
//---------------------------------------------------------------------------
#ifndef ServerUnitH
#define ServerUnitH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <ShellAPI.hpp>
#include "Oracle.hpp"
#include "OracleData.hpp"
#include <Db.hpp>
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published: // IDE-managed Components
TPanel *StatusPanel;
TPanel *ButttonPanel;
TButton *ShutDownButton;
TMemo *LogMemo;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall ShutDownButtonClick(TObject *Sender);
private: // User declarations
TNotifyIconData TrayIconData;
bool __fastcall AddIcon();
bool __fastcall DeleteIcon();
void __fastcall TrayIconClick();
virtual void __fastcall WndProc(Messages::TMessage &Message);
public: // User declarations
__fastcall TMainForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
void __fastcall Log(AnsiString S);
void __fastcall UpdateStatusLine(int Change);
//---------------------------------------------------------------------------
extern PACKAGE TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -