private void buttonHandDataFactory_Click(object sender, EventArgs e)
{
var factory = new HandDataFactory(new IntSize(640, 480));
var handData = factory.Create((this.dataSourceFactory as OpenNIDataSourceFactory).GetDepthGenerator().DataPtr);
MessageBox.Show(string.Format("{0} hands detected", handData.Count), "Detection Message");
}