CreateDirectory.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //----------------------------------------------------------------------------
  2. #ifndef CreateDirectoryH
  3. #define CreateDirectoryH
  4. //----------------------------------------------------------------------------
  5. #include <vcl\System.hpp>
  6. #include <vcl\Windows.hpp>
  7. #include <vcl\SysUtils.hpp>
  8. #include <vcl\Classes.hpp>
  9. #include <vcl\StdCtrls.hpp>
  10. #include <vcl\Forms.hpp>
  11. #include <vcl\Controls.hpp>
  12. #include <vcl\Buttons.hpp>
  13. #include <XPThemes.hpp>
  14. #include <ExtCtrls.hpp>
  15. #include <Bookmarks.h>
  16. #include "MoreButton.hpp"
  17. #include "RightsExt.h"
  18. #include "Rights.h"
  19. //----------------------------------------------------------------------------
  20. class TCreateDirectoryDialog : public TForm
  21. {
  22. __published:
  23. TButton *OKBtn;
  24. TButton *CancelBtn;
  25. TEdit *DirectoryEdit;
  26. TLabel *EditLabel;
  27. TButton *HelpButton;
  28. TMoreButton *MoreButton;
  29. TPanel *MorePanel;
  30. TXPGroupBox *AttributesGroup;
  31. TRightsExtFrame *RightsFrame;
  32. TCheckBox *SetRightsCheck;
  33. TCheckBox *SaveSettingsCheck;
  34. void __fastcall ControlChange(TObject *Sender);
  35. void __fastcall DirectoryEditChange(TObject *Sender);
  36. void __fastcall FormShow(TObject *Sender);
  37. void __fastcall HelpButtonClick(TObject *Sender);
  38. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  39. public:
  40. __fastcall TCreateDirectoryDialog(TComponent* AOwner);
  41. virtual __fastcall ~TCreateDirectoryDialog();
  42. bool __fastcall Execute(AnsiString & Directory, TRemoteProperties * Properties,
  43. bool & SaveSettings);
  44. protected:
  45. void __fastcall UpdateControls();
  46. };
  47. //----------------------------------------------------------------------------
  48. #endif