📄 unit1.~h
字号:
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include "wingdi.h"
#include "winbase.h"
#include <DBCtrls.hpp>
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <MPlayer.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TImage *Image1;
TImage *Image2;
TImage *Image3;
TLabel *Label1;
TLabel *Label2;
TPaintBox *PaintBox1;
TButton *Button1;
TComboBox *ComboBox1;
TLabel *Label3;
TImage *Image4;
TImage *Image5;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TTimer *Timer1;
TShape *Shape1;
TShape *Shape2;
TRadioGroup *RadioGroup1;
TRadioButton *RadioButton1;
TRadioButton *RadioButton2;
TRadioButton *RadioButton3;
TOpenDialog *OpenDialog1;
TMediaPlayer *MediaPlayer1;
TProgressBar *ProgressBar1;
TTimer *Timer2;
TButton *Button2;
void __fastcall Button1Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall PaintBox1MouseMove(TObject *Sender,
TShiftState Shift, int X, int Y);
void __fastcall PaintBox1MouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall FormCreate(TObject *Sender);
void __fastcall PaintBox1Paint(TObject *Sender);
void __fastcall ComboBox1Select(TObject *Sender);
void __fastcall PaintBox1DragDrop(TObject *Sender, TObject *Source,
int X, int Y);
void __fastcall PaintBox1DragOver(TObject *Sender, TObject *Source,
int X, int Y, TDragState State, bool &Accept);
void __fastcall Timer1Timer(TObject *Sender);
void __fastcall Timer2Timer(TObject *Sender);
//void __fastcall Image4StartDrag(TObject *Sender,
//TDragObject *&DragObject);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -