将新GUID值传递给GuidAttribute

时间:2012-11-18 03:44:01

标签: c# winforms guid

如何将新的GUID值传递给GuidAttribute?我想从方法改变“F469C22F-66C1-49C8-A54A-F2BB4F13CC7F”是可能的吗?

[GuidAttribute("F469C22F-66C1-49C8-A54A-F2BB4F13CC7F")] 
[LicenseProvider(typeof(RegistryLicenseProvider))]
public partial class MyClass: UserControl
{
     public MyClass(){
        InitializeComponent();
     }

}

0 个答案:

没有答案