المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Remove Enum prefix from tlb



C# Programming
10-27-2011, 02:30 PM
Hi all
When creating COM dll from C# i get TLB file.
All enums in the file get a prefix of the enum name
is therea way to remove the prefix?
//C# codepublic enum OPTIONS{Zoom = -1,FitWindow,FitWidth,FitHeight,Actual} //TLB OPTIONS{OPTIONS_Zoom = -1,OPTIONS_FitWindow = 0,OPTIONS_FitWidth = 1,OPTIONS_FitHeight = 2,OPTIONS_Actual = 3};Have a nice Day