CreateDirectory.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 <ExtCtrls.hpp>
  14. #include <Bookmarks.h>
  15. #include "RightsExt.h"
  16. #include "Rights.h"
  17. //----------------------------------------------------------------------------
  18. class TCreateDirectoryDialog : public TForm
  19. {
  20. __published:
  21. TButton *OKBtn;
  22. TButton *CancelBtn;
  23. TEdit *DirectoryEdit;
  24. TLabel *EditLabel;
  25. TButton *HelpButton;
  26. TPanel *MorePanel;
  27. TGroupBox *AttributesGroup;
  28. TRightsExtFrame *RightsFrame;
  29. TCheckBox *SetRightsCheck;
  30. TCheckBox *SaveSettingsCheck;
  31. void __fastcall ControlChange(TObject *Sender);
  32. void __fastcall DirectoryEditChange(TObject *Sender);
  33. void __fastcall FormShow(TObject *Sender);
  34. void __fastcall HelpButtonClick(TObject *Sender);
  35. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  36. public:
  37. __fastcall TCreateDirectoryDialog(TComponent* AOwner);
  38. virtual __fastcall ~TCreateDirectoryDialog();
  39. bool __fastcall Execute(AnsiString & Directory, TRemoteProperties * Properties,
  40. bool & SaveSettings);
  41. protected:
  42. void __fastcall UpdateControls();
  43. };
  44. //----------------------------------------------------------------------------
  45. #endif