CodePopupEditor.cs 484 B

1234567891011121314151617181920
  1. using System;
  2. namespace InABox.Core
  3. {
  4. public class CodePopupEditor : DataLookupEditor
  5. {
  6. public CodePopupEditor(Type type, params string[] otherfields) : base(type, otherfields)
  7. {
  8. }
  9. public string CodeColumn { get; set; }
  10. protected override BaseEditor DoClone()
  11. {
  12. var result = (CloneDataLookupEditor() as CodePopupEditor)!;
  13. result.CodeColumn = CodeColumn;
  14. return result;
  15. }
  16. }
  17. }