Help? :(

Sep 28, 2010 at 5:18 PM

Hi there, I know this is probably a really massive ask... I'm not sure if anyone will help, but it would REALLY be fantastic if they did....

Basically we're putting together something very quickly in SilverLight and we need something very similar to the Draw Polygon tool. In fact, what is here is absolutely perfect for us... but we don't need any of the other features, and herein lies the problem :(

I don't suppose any wonderfully kind soul could possibly help point us in the right direction to pulling out just that feature? (I hope such a thing is permissible under the MS-Pl license??) I'm sure it wouldn't be a problem for us to credit this project.

We're new to the world of SilverLight and to OpenSource licenses, so please forgive me if I've stepped on anyone's toes or suggested something which is not permissible.

Thanks a lot for any help.


- JohnnyW

Sep 29, 2010 at 5:43 AM

Hey Johnny,

first off, no problem whatsoever with using any part of the source in your own projects.

Second, it will be probably much easier to rewrite what you want from scratch then to separate out the PolygonCreator.cs from the rest of the framework.

Still, if you want to go that route, have a Canvas in your project, add Behavior.cs, FigureCreator.cs and PolygonCreator.cs. Then keep removing unused things and adding what's missing until you get it compiling. Or, take the entire source code, and keep deleting things step by step, while verifying that your polygon is still there.

I don't think I will have time anytime soon to help you with that, so unfortunately you're on your own. The good news is that there shouldn't be any licensing or otherwise issues :)

Good luck


Sep 29, 2010 at 9:13 AM

Hi Kirill, thanks so much for your help! We'll take a stab at it, based on your directions... maybe it won't be so bad!

Great to hear about the licensing, too.

Thanks again,

- Johnny