Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

Re: Custom UITypeEditor.
Started by danp at 06-27-2008 6:56 PM. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  06-27-2008, 6:56 PM
danp is not online. Last active: 6/30/2008 2:02:48 PM danp

Top 75 Posts
Joined on 06-28-2008
Posts 2
Custom UITypeEditor.
Reply Quote
Hi,

I am having trouble with a subclass implementation of UITypeEditor.  It seems that this code does not work after obfuscation.  Specifically the EditValue method seems to be affected.  I do have a very simple sample project if you are interested in reproducing.  Other than this one issue, it seems your product works really well.

I was wondering if you had any advice.

Thanks.

-Dan
   Report 
  06-28-2008, 2:22 AM
Bill is not online. Last active: 12/18/2009 11:43:49 PM Bill

Top 10 Posts
Joined on 06-28-2008
Posts 15
Re: Custom UITypeEditor.
Reply Quote
Thanks you, Dan.

Please send the sample to supports@macrobject.com. We will try to fix the issus ASAP.

- Bill
   Report 
  06-28-2008, 2:16 PM
danp is not online. Last active: 6/30/2008 2:02:48 PM danp

Top 75 Posts
Joined on 06-28-2008
Posts 2
Re: Custom UITypeEditor.
Reply Quote
Thanks.  I have emailed a sample project (very simple repro case).

I mentioned in the email but for the forum's benefit:

I worked around this by using the obfuscation attribute and just not obfuscating this one class.  That does the trick but I would still be interested in hearing what is unique about subclasses of UITypeEditor.  Native subclasses to UITypeEditor like FileNameEditor do appear to work fine.

Thanks for any guidance.

-Dan
   Report 
  06-29-2008, 6:36 PM
David is not online. Last active: 11/17/2011 8:07:51 AM David

Top 10 Posts
Joined on 01-26-2008
Posts 193
Re: Custom UITypeEditor.
Reply Quote
Sorry, we haven't received your email.
Please resend it again to [supports@macrobject.us]?
Thanks.
   Report 
  07-02-2008, 6:53 AM
David is not online. Last active: 11/17/2011 8:07:51 AM David

Top 10 Posts
Joined on 01-26-2008
Posts 193
Re: Custom UITypeEditor.
Reply Quote
Thank you very much for your sample attached.

We’ve reviewed the sample project and find the issue is caused by the “EditorAttribute” of “TestObject.String1” is used the “ObfuscateTest_UITypeEditor.CustomUITypeEditor” class.
So you’d better to add an “ObfuscationAttribute” into the “ObfuscateTest_UITypeEditor.CustomUITypeEditor” class for skipping obfuscation, as below:

[ObfuscationAttribute(Exclude = true)]

Any questions please feel free to contact us, thanks.

Best Regards.

   Report 
Post
Macrobject Comm... » Developing Tool... » Obfuscator.NET » Re: Custom UITypeEditor.

Powered by Community Server, by Telligent Systems