using WX.CRM.WebHelper.UtilityModel; namespace WX.CRM.WebHelper { public sealed class InitToolBar { //ToolBarId 以二进制编码存储 (1,2,4,8,16.....) public const int CONST_Add = 1; public static ToolBarBtn Add = new ToolBarBtn() { ToolBarId = CONST_Add, ToolBarCode = "Create", ToolBarName = "新增" }; public const int CONST_Edit = 2; public static ToolBarBtn Edit = new ToolBarBtn() { ToolBarId = CONST_Edit, ToolBarCode = "Edit", ToolBarName = "编辑" }; public const int CONST_Details = 4; public static ToolBarBtn Details = new ToolBarBtn() { ToolBarId = CONST_Details, ToolBarCode = "Details", ToolBarName = "详情" }; public const int CONST_Delete = 8; public static ToolBarBtn Delete = new ToolBarBtn() { ToolBarId = CONST_Delete, ToolBarCode = "Delete", ToolBarName = "删除" }; public const int CONST_Export = 16; public static ToolBarBtn Export = new ToolBarBtn() { ToolBarId = CONST_Export, ToolBarCode = "Export", ToolBarName = "导出" }; public const int CONST_Other1 = 32; public static ToolBarBtn Other1 = new ToolBarBtn() { ToolBarId = CONST_Other1, ToolBarCode = "Other1" }; public const int CONST_Other2 = 64; public static ToolBarBtn Other2 = new ToolBarBtn() { ToolBarId = CONST_Other2, ToolBarCode = "Other2" }; public const int CONST_Other3 = 128; public static ToolBarBtn Other3 = new ToolBarBtn() { ToolBarId = CONST_Other3, ToolBarCode = "Other3" }; public const int CONST_Other4 = 256; public static ToolBarBtn Other4 = new ToolBarBtn() { ToolBarId = CONST_Other4, ToolBarCode = "Other4" }; public const int CONST_Check = 512; public static ToolBarBtn Check = new ToolBarBtn() { ToolBarId = CONST_Check, ToolBarCode = "Check", ToolBarName = "审核" }; public const int CONST_unCheck = 1024; public static ToolBarBtn unCheck = new ToolBarBtn() { ToolBarId = CONST_unCheck, ToolBarCode = "unCheck", ToolBarName = "反审" }; public const int CONST_Other5 = 2048; public static ToolBarBtn Other5 = new ToolBarBtn() { ToolBarId = CONST_Other5, ToolBarCode = "Other5" }; public const int CONST_Other6 = 4096; public static ToolBarBtn Other6 = new ToolBarBtn() { ToolBarId = CONST_Other6, ToolBarCode = "Other6" }; public const int CONST_Other7 = 8192; public static ToolBarBtn Other7 = new ToolBarBtn() { ToolBarId = CONST_Other7, ToolBarCode = "Other7" }; public const int CONST_Other8 = 16384; public static ToolBarBtn Other8 = new ToolBarBtn() { ToolBarId = CONST_Other8, ToolBarCode = "Other8" }; public const int CONST_Other9 = 32768; public static ToolBarBtn Other9 = new ToolBarBtn() { ToolBarId = CONST_Other9, ToolBarCode = "Other9" }; } }