OpenWindowArg.cs 1.0 KB

123456789101112131415161718192021222324252627282930
  1. //----------------------------------------------------------------
  2. //Module Name: OpenWindowArg
  3. //Purpose:
  4. //CopyRight: Muchinfo
  5. //History:
  6. //----------------------------------------------------------------
  7. //DateTime Author Description
  8. //----------------------------------------------------------------
  9. //2014-04-03 deng.yinping Create
  10. //----------------------------------------------------------------
  11. using Muchinfo.MTPClient.Data.Enums;
  12. namespace Muchinfo.MTPClient.Infrastructure.MessengerArgs
  13. {
  14. public class OpenWindowArg
  15. {
  16. public OpenWindowArg(string title, MenuCommandType type, string additionalInfo, bool createNew = false)
  17. {
  18. this.Title = title;
  19. this.Type = type;
  20. this.AdditionalInfo = additionalInfo;
  21. this.CreateNew = createNew;
  22. }
  23. public string Title { get; set; }
  24. public MenuCommandType Type { get; set; }
  25. public string AdditionalInfo { get; set; }
  26. public bool CreateNew { get; set; }
  27. }
  28. }