WPF
First of all, I want to beg your pardon about the frequency of posts last time. I’m completely understaffed and have a ton of things to do for my job. This why, today I’ll just write a quick post about checksum calculation in C#. It might be very useful for any of you, working with devices or external systems. Keep reading on my blog >>...
Posted On Monday, April 06, 2009 10:52 PM | Feedback (6)
A couple of days ago WordFocus exposed one of our (frankly old :) ) WPF prototypes for in-car energy assistant system, so today I can exclusively show you some of screens from this state of art WPF work. Real time performance of WPF touch screen application, running on low power automotive grade PC, which boots faster, then Nokia phone. Huge respect for all developers and P-defs. Click for screenshots and video on my blog >>...
Posted On Monday, February 16, 2009 7:20 PM | Feedback (0)
My colleague just asked me about how to reduce a number of colors in image programmatically. This is very simple task and contains of 3 (or 5) steps. Keep reading in my blog>>...
Posted On Monday, February 09, 2009 8:49 PM | Feedback (0)
Today I want to speak about two dogmas: design and functional driven programming. As the example of those two approaches, I want to introduce two Twitter clients: *Chirp by thirteen23 and TwitterFox by Naan Studio As you can see, *Chirp is state of art application with outstanding user interface, and well-defined usability studies. While TwitterFox is wacky grey boring kind-of-grid only. However, you cannot judge app by only how it looks like. Let’s try to understand first what’s for you need twitter...
Posted On Friday, January 30, 2009 10:10 AM | Feedback (0)
I just published an article on Code Project, that explains how to use my latest FM USB library for building real world software radio receiver with WPF. There I referenced to some nifty WPF time savers, I’m using for everyday development. So, today I want to share those code pieces with you. Keep reading on my blog >>...
Posted On Thursday, January 08, 2009 8:24 PM | Feedback (0)
It seemed, that Seattle’s cold influences developer teams. They want us to know how they’re doing. Thus today Windows 7 beta (build 7000) and Source code for Silverlight 2.0 controls were released. Happy downloads
Posted On Thursday, January 08, 2009 9:51 AM | Feedback (0)
Last time we spoke about reading and decoding RDS information from FM receivers. Also we already know how to stream sound from DirectSound compatible devices. However, before we can do it, we should be able to “speak” with such devices. So, today we’ll spoke about detection and reading information from Radio USB adapters (actually from any Human Input Devices). Let’s start. First, if you want to do it, go and buy such device. The are not a lot of alternatives, but if you’ll seek, you’ll find it very...
Posted On Tuesday, December 30, 2008 8:42 PM | Feedback (0)
I already wrote a little about managed way to use DirectX DirectSound. Today we’ll speak about how to get sound from your microphone or any other DirectSound capturing device (such as FM receiver) and stream it out to your PC speakers and any other DirectSound Output device. So, let’s start creating our first echo service by using managed DirectX. First of all we should decide what Wave format we want to use for capturing and recording. So, let’s choose anything reasonable :) var format = new WaveFormat...
Posted On Thursday, December 25, 2008 6:48 PM | Feedback (3)
From the moment, 10K MIX09 contest was launched, I got more, then 20 people, asking the same question: Is it possible to have Silverlight program up and running without XAML at all? The answer is “YES, IT IS”. Here is how: All you need for run WPF or Silverlight application is Class inherited from System.Windows.Application Class inherited from System.Windows.Controls.Use... So, Let’s create new WPF or Silverlight application and delete all files from the project directory. Then add one file,...
Posted On Tuesday, December 23, 2008 6:51 PM | Feedback (0)
Recently I wrote a cheat sheet for pinvoking in .NET. Shortly after I got a question in comments about how to deal with variable arguments, when it's more, then one parameter. Also what to do if those arguments are heterogeneous? Let's say, that we have following method in C: int VarSum(int nargs, ...){ va_list argp; va_start( argp, nargs ); int sum = 0; for( int i = 0 ; i < nargs; i++ ) { int arg = va_arg( argp, int ); sum += arg; } va_end( argp ); return sum; } We can expose this method to C#...
Posted On Wednesday, November 19, 2008 1:44 PM | Feedback (0)
Full WPF Archive