📄 main.h
字号:
//---------------------------------------------------------------------------
#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Grids.hpp>
#include <ExtCtrls.hpp>
#include <Mask.hpp>
#include "RsMatrixC.h"
//---------------------------------------------------------------------------
class TfrmMain : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TPanel *Panel2;
TSplitter *Splitter1;
TPanel *Panel3;
TPanel *Panel4;
TSplitter *Splitter2;
TPanel *Panel5;
TStringGrid *g1;
TStringGrid *g2;
TRadioButton *rbProduct;
TRadioButton *rbSum;
TRadioButton *rbDiff;
TRadioButton *rbTraceOf;
TRadioButton *rbTranspose;
TStringGrid *g3;
TSplitter *Splitter3;
TPanel *Panel6;
TPanel *Panel7;
TLabel *Label1;
TLabel *Label2;
TLabel *Label4;
TLabel *Label5;
TButton *edT;
TButton *edB;
TPanel *Panel8;
TButton *cmdCalculate;
TMaskEdit *edTR;
TMaskEdit *edTC;
TMaskEdit *edBR;
TMaskEdit *edBC;
TRsMatrixC *Matrix;
void __fastcall edTClick(TObject *Sender);
void __fastcall edBClick(TObject *Sender);
void __fastcall cmdCalculateClick(TObject *Sender);
public: // User declarations
__fastcall TfrmMain(TComponent* Owner);
private:
void __fastcall FillGrid(TStringGrid* g);
void __fastcall DoCalculate();
void __fastcall DeletePointer(double** value, int rows); // User declarations
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMain *frmMain;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -