четвер, 17 червня 2010 р.

Controlling DirectVobSub filter

Recently I was assigned a task of controlling subtitles in video player written in C# (using DirectShowLib). After searching for a while I've found a solution - to use an already implemented subtitle rendering filter, which supports a lot of different formats. But I needed to control it somehow in player - and here COM Interop comes in rescue. So first of all I downloaded DirectVobSub source code to write correct COM interface definition. And that's what I've got:

субота, 28 лютого 2009 р.

WPF

I've passed TS 70-502 exam :) Frankly speaking it was much easier then I have thought. There were several questions on deploying application (some of them even made me stuck) , and a lot on binding (especially on Mode property). But nevertheless, I start to prepare to the next one...

четвер, 26 лютого 2009 р.

Extending WPF triggers

Sometimes it seems that, it would be wonderful to have some more features in WPF triggers system. For example recently the idea of DataEventTrigger arrived in my head, which would be able to run storyboards after simple CLR event of DataContext is invoked. Next example is having a custom TrigerAction,which also would be fine to have. As a example we can mention SetterAction or simple action that can execute some method on object... It's a pity but everything in WPF triggers system made internal! So, I hope that in future releases we will have more chances to extend it.

неділя, 22 лютого 2009 р.

Testing XAML

Recently I've found a very interesting article about testing XAML. I think that it is very useful for real WPF projects where design is completely separated from logic and is made by designers (new WPF model). The problem is that XAML also has some kind of behavior using for example triggers or bindings , and that's why some details can be skipped. And here unit testing can be helpful. Very good idea for my recent project (creating a media-center application).

субота, 21 лютого 2009 р.

IT and not only. Let's start

The idea to create this blog came to me when the quantity of information I obtain became too huge and needed to be somehow systematized and categorized.

For me blogging is first of all a good way to improve my knowledge in different IT spheres, and of course a possibility to exchange ideas and share skills and experience.

What will be written here? Everything that is connected with my job, or sometimes something different. Based on current work most of articles will be somehow concerned with WPF, WCF and DirectShow.

As you probably have understood, I'm a developer:) The WPF developer:)

So, let's start?