1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- //---------------------------------------------------------------------------
- #ifndef FrmMainFH
- #define FrmMainFH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "cxContainer.hpp"
- #include "cxControls.hpp"
- #include "cxEdit.hpp"
- #include "cxGraphics.hpp"
- #include "cxLookAndFeelPainters.hpp"
- #include "cxLookAndFeels.hpp"
- #include "cxMaskEdit.hpp"
- #include "cxSpinEdit.hpp"
- #include "cxTextEdit.hpp"
- #include "dxSkinBlack.hpp"
- #include "dxSkinMcSkin.hpp"
- #include "dxSkinsCore.hpp"
- #include "cxButtons.hpp"
- #include <Menus.hpp>
- #include "cxDropDownEdit.hpp"
- //---------------------------------------------------------------------------
- class TFrmMain : public TForm
- {
- __published: // IDE-managed Components
- TLabel *Label1;
- TLabel *Label2;
- TLabel *Label3;
- TLabel *Label4;
- TLabel *lblIssueDays;
- TcxButton *BtnSave;
- TLabel *Label5;
- TLabel *Label6;
- TLabel *Label7;
- TLabel *Label8;
- TLabel *Label9;
- TcxComboBox *CboLoginType;
- TcxTextEdit *EdThumbPrint;
- TcxTextEdit *EdAppName;
- TcxTextEdit *EdAppVersion;
- TcxTextEdit *EdDomain;
- TcxTextEdit *EdMipDataPath;
- TcxTextEdit *EdTenantId;
- TcxTextEdit *EdClientId;
- TcxTextEdit *EdEmail;
- TcxTextEdit *EdSecretValue;
- TLabel *LblHint;
- TCheckBox *ChkView;
- void __fastcall BtnSaveClick(TObject *Sender);
- void __fastcall CboLoginTypePropertiesChange(TObject *Sender);
- void __fastcall ChkViewClick(TObject *Sender);
- private: // User declarations
- String ConfigFileName;
- String ApplicationName;
- String ApplicationVersion;
- String Domain;
- String MipDataPath;
- String TenantId;
- String ClientId;
- String EMail;
- int LoginType;
- String SecretValue;
- String Thumbprint;
- public: // User declarations
- __fastcall TFrmMain(TComponent* Owner);
- void __fastcall LoadConfig();
- void __fastcall SaveConfig();
- void __fastcall DataError(String AErrMsg);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFrmMain *FrmMain;
- //---------------------------------------------------------------------------
- #endif
|