MYOBCompanyFileGrid.cs 608 B

12345678910111213141516171819202122232425262728
  1. using InABox.Core;
  2. using InABox.DynamicGrid;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace InABox.Poster.MYOB;
  9. public class MYOBCompanyFile : EnclosedEntity
  10. {
  11. [NullEditor]
  12. public Guid ID { get; set; }
  13. [EditorSequence(1)]
  14. [TextBoxEditor]
  15. public string Name { get; set; }
  16. }
  17. public class MYOBCompanyFileGrid : DynamicItemsListGrid<MYOBCompanyFile>
  18. {
  19. protected override void DoReconfigure(DynamicGridOptions options)
  20. {
  21. base.DoReconfigure(options);
  22. options.ReadOnly = true;
  23. }
  24. }