FrmMainF.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmMainFH
  3. #define FrmMainFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "cxContainer.hpp"
  10. #include "cxControls.hpp"
  11. #include "cxEdit.hpp"
  12. #include "cxGraphics.hpp"
  13. #include "cxLookAndFeelPainters.hpp"
  14. #include "cxLookAndFeels.hpp"
  15. #include "cxMaskEdit.hpp"
  16. #include "cxSpinEdit.hpp"
  17. #include "cxTextEdit.hpp"
  18. #include "dxSkinBlack.hpp"
  19. #include "dxSkinMcSkin.hpp"
  20. #include "dxSkinsCore.hpp"
  21. #include "cxButtons.hpp"
  22. #include <Menus.hpp>
  23. #include "cxDropDownEdit.hpp"
  24. //---------------------------------------------------------------------------
  25. class TFrmMain : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TLabel *Label1;
  29. TLabel *Label2;
  30. TLabel *Label3;
  31. TLabel *Label4;
  32. TLabel *lblIssueDays;
  33. TcxButton *BtnSave;
  34. TLabel *Label5;
  35. TLabel *Label6;
  36. TLabel *Label7;
  37. TLabel *Label8;
  38. TLabel *Label9;
  39. TcxComboBox *CboLoginType;
  40. TcxTextEdit *EdThumbPrint;
  41. TcxTextEdit *EdAppName;
  42. TcxTextEdit *EdAppVersion;
  43. TcxTextEdit *EdDomain;
  44. TcxTextEdit *EdMipDataPath;
  45. TcxTextEdit *EdTenantId;
  46. TcxTextEdit *EdClientId;
  47. TcxTextEdit *EdEmail;
  48. TcxTextEdit *EdSecretValue;
  49. TLabel *LblHint;
  50. TCheckBox *ChkView;
  51. void __fastcall BtnSaveClick(TObject *Sender);
  52. void __fastcall CboLoginTypePropertiesChange(TObject *Sender);
  53. void __fastcall ChkViewClick(TObject *Sender);
  54. private: // User declarations
  55. String ConfigFileName;
  56. String ApplicationName;
  57. String ApplicationVersion;
  58. String Domain;
  59. String MipDataPath;
  60. String TenantId;
  61. String ClientId;
  62. String EMail;
  63. int LoginType;
  64. String SecretValue;
  65. String Thumbprint;
  66. public: // User declarations
  67. __fastcall TFrmMain(TComponent* Owner);
  68. void __fastcall LoadConfig();
  69. void __fastcall SaveConfig();
  70. void __fastcall DataError(String AErrMsg);
  71. };
  72. //---------------------------------------------------------------------------
  73. extern PACKAGE TFrmMain *FrmMain;
  74. //---------------------------------------------------------------------------
  75. #endif