About

Musings and frustrations of a .NET developer.

  1. March 8, 2008 at 4:49 pm | #1

    :)

  2. May 5, 2009 at 7:53 am | #2

    Just noticed that your blog template is missing the usual RSS feed link (http://peteohanlon.wordpress.com/feed/). Don’t know whether you removed it on purpose though…

    Cheers,
    Philipp

  3. Tom
    June 23, 2009 at 4:18 pm | #3

    Hello, nice site you have here. Quick question, what plugin did you use to highlight code on your site? I was looking for something like that to put in code musings but gave up a while ago…

    • peteohanlon
      June 23, 2009 at 7:14 pm | #4

      Tom

      It’s built into WordPress.com. All you do is wrap your code in [ sourcecode language='csharp'][/ sourcecode]. I find it works best if I edit my post in something like Notepad and then paste it in with the sourcecode markup tags already present.

    • July 4, 2009 at 9:57 pm | #7

      Tom, I was searching for the same thing and it was exactly that peter said.
      If you need more information and other tag details, just check it
      http://support.wordpress.com/code/

  4. Jason
    October 6, 2009 at 7:42 pm | #8

    We are developing a vector drawing application in WPF but have run up against a snag. For example, if I draw a simple rectangle (this uses the rectangle geometry class to draw the rectangle on the canvas) I then have an option to “convert the rectangle to “Bezier” which changes the rectangle class to “path geometry” in order to edit the individual nodes of the rectangle shape.

    Is there a way to change this back to a rectangle geometry class? After editing the rectangle nodes, I want to have the ability to resize the rectangle, for example, but am unable to do this.

    This would be similar to how Microsoft handles this in Expression Design. They have the Selection tool that allows you to resize, rotate, etc. the drawn shape, and when you switch to the Direct Selection tool the adorner is no longer there which allows you to edit the nodes of the shape. When you then switch back to the Selection tool, the node editing is no longer there and you can then resize, rotate, etc. again.

  1. No trackbacks yet.