Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About my WPF app to draw a Bolt Hole Pattern.
Message
From
30/07/2008 11:01:00
 
 
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Miscellaneous
Thread ID:
01334102
Message ID:
01335259
Views:
25
If you have time, please review message #1334102 to see if you can help me out.

>
>From a general point of view one suggestion I'd make is to seperate the job of drawing the holes from the specifying of the parameters.
>Maybe subclass a 'Bolt Hole Drawer' object from a canvas and include all the drawing functionality in that. You could use this on your current form by wiring it up to the various spinners/sliders etc. But it would also be easily re-usable if, for instance, you wanted to use it in a form to display holes patterns stored in a data library.
>
>I've done the same sort of thing but the objects on the canvas could be of many types,be randomly placed, and contain other objects. The canvas had methods to serialize itself (including all contained objects) to either binary or XML but that would probably be overkill in your case since not many parameters are required to reproduce the required layout.
>
>Looks interesting, good luck,
>Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform