main.h
来自「提供基本榘阵 ( Matrix ) 运算 ( product 、 sum 、 d」· C头文件 代码 · 共 62 行
H
62 行
//---------------------------------------------------------------------------
#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 + =
减小字号Ctrl + -
显示快捷键?