/****************************** * 说明:Window消息 * 创建人:龚宇超 * 创建日期:2018-01-22 * 修改人: * 修改日期: * 修改备注: * 版本:1.0.0.0 ******************************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Lskj.Attach.Client.Model { /// /// Window消息 /// internal struct CustomWinMsg { private static readonly int CUSTOM_MESSAGE; public static readonly int SUCCESS_MESSAGE; public static readonly int FAIL_MESSAGE; public static readonly int SETPROGRESS; public static readonly int CLOSE_WINDOW; public static readonly int NOTIFY_READY; public static readonly int CONNECT_ERROR; public static readonly int DELETEFILE_MESSAGE; public static readonly int READYTOCLOSE; public static readonly int BATCHUPLOADCOMPLETED; static CustomWinMsg() { CUSTOM_MESSAGE = 36864; SUCCESS_MESSAGE = CUSTOM_MESSAGE + 1; FAIL_MESSAGE = CUSTOM_MESSAGE + 2; SETPROGRESS = CUSTOM_MESSAGE + 3; CLOSE_WINDOW = CUSTOM_MESSAGE + 4; NOTIFY_READY = CUSTOM_MESSAGE + 5; CONNECT_ERROR = CUSTOM_MESSAGE + 6; DELETEFILE_MESSAGE = CUSTOM_MESSAGE + 7; READYTOCLOSE = CUSTOM_MESSAGE + 8; BATCHUPLOADCOMPLETED = CUSTOM_MESSAGE + 9; } } }