12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- //---------------------------------------------------------------------------
- #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);
- __fastcall void LoadConfig();
- __fastcall void SaveConfig();
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFrmMain *FrmMain;
- //---------------------------------------------------------------------------
- #endif
|