//--------------------------------------------------------------------------- #ifndef FrmMainFH #define FrmMainFH //--------------------------------------------------------------------------- #include #include #include #include #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 #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