📄 cd8_1u.h
字号:
//----------------------------------------------------------------------------
#ifndef cd8_1uH
#define cd8_1uH
//----------------------------------------------------------------------------
#include "ChildWin.h"
#include <vcl\ComCtrls.hpp>
#include <vcl\ExtCtrls.hpp>
#include <vcl\Messages.hpp>
#include <vcl\Buttons.hpp>
#include <vcl\Dialogs.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Menus.hpp>
#include <vcl\Controls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Graphics.hpp>
#include <vcl\Classes.hpp>
#include <vcl\SysUtils.hpp>
#include <vcl\Windows.hpp>
#include <vcl\System.hpp>
#include <ActnList.hpp>
#include <ImgList.hpp>
#include <StdActns.hpp>
#include <ToolWin.hpp>
//----------------------------------------------------------------------------
class TMainForm : public TForm
{
__published:
TMainMenu *MainMenu1;
TMenuItem *File1;
TMenuItem *FileNewItem;
TMenuItem *FileCloseItem;
TMenuItem *Window1;
TMenuItem *N1;
TMenuItem *FileExitItem;
TMenuItem *WindowCascadeItem;
TMenuItem *WindowTileItem;
TMenuItem *WindowArrangeItem;
TMenuItem *WindowMinimizeItem;
TStatusBar *StatusBar;
TActionList *ActionList1;
TAction *FileNew1;
TAction *FileExit1;
TWindowCascade *WindowCascade1;
TWindowTileHorizontal *WindowTileHorizontal1;
TWindowArrange *WindowArrangeAll1;
TWindowMinimizeAll *WindowMinimizeAll1;
TWindowClose *FileClose1;
TWindowTileVertical *WindowTileVertical1;
TMenuItem *WindowTileItem2;
TToolBar *ToolBar2;
TToolButton *ToolButton3;
TToolButton *ToolButton8;
TToolButton *ToolButton9;
TToolButton *ToolButton10;
TToolButton *ToolButton11;
TImageList *ImageList1;
TPanel *pin;
TLabel *Label1;
TEdit *ein;
TLabel *Label2;
TEdit *from;
TLabel *Label3;
TEdit *to;
TLabel *lout;
TButton *pout;
void __fastcall FileNew1Execute(TObject *Sender);
void __fastcall FileExit1Execute(TObject *Sender);
void __fastcall einKeyUp(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall fromKeyUp(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall toKeyUp(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall poutClick(TObject *Sender);
private:
void __fastcall CreateMDIChild(const String Name);
public:
virtual __fastcall TMainForm(TComponent *Owner);
};
//----------------------------------------------------------------------------
extern TMainForm *MainForm;
extern TMDIChild *__fastcall MDIChildCreate(void);
//----------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -