The problem is that the PainValueEventArgs is defined in
System.CF.Drawing.dll.
You can fix this by moving your editor to a different assembly whose
reference resolution resolves to System.Drawing.dll first. If you do this,
you can not reference System.CF.* in this new assembly at all -- only
desktop types. It makes life a lot simpler when writing an editor. To set
or edit return values -- use reflection.
Make sure this assembly is installed in the GAC. Let me know if there are
issues.
-Ben
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From:
(E-Mail Removed) (Anatoly)
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Re: custom CF control editor's PaintValue conflict of Drawing
assembly
| Date: 11 Sep 2003 10:17:24 -0700
| Organization:
http://groups.google.com/
| Lines: 1
| Message-ID: <(E-Mail Removed)>
| References: <(E-Mail Removed)>
| NNTP-Posting-Host: 205.142.0.75
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1063300645 1651 127.0.0.1 (11 Sep 2003
17:17:25 GMT)
| X-Complaints-To:
groups-(E-Mail Removed)
| NNTP-Posting-Date: 11 Sep 2003 17:17:25 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-
xit-09!supernews.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:33358
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| may be someone at MSFT have an answer to this?
|