Sunday, November 15, 2009

Pin m3u to taskbar

.m3u pinned I wanted to pin (keep permanently) some .m3u files to my taskbar. A lot of radios publish their live streams in .m3u files and I could have listened to them with just one click.

It is really simple in case of Windows 7. Just drag and drop the .m3u files to the taskbar (to an empty area) and these files will appear in the pin list of their default program. In my case this program is Media Player Classic.

This is a great feature of Windows 7!

Saturday, November 14, 2009

AvalonDock Layout Persistance

Persisting layout using AvalonDock is quite simple. Just call the following methods:

  • DockingManager.SaveLayout(path)
  • DockingManager.RestoreLayout(path)

It’s simple, but it did not work for me. My fault was also simple. You must define the x:Name=”name attribute on the DockableContents and everything will work fine.