I get the following error when I compile the program
\"Microsoft.Samples.Kinect.ControlsBasics.SelectionDisplay\' does not contain a constructor that ta
Well, you've already created a constructor that takes one argument:
public SelectionDisplay(string itemId)
{
//...
}
But you're passing it two arguments:
new SelectionDisplay(button.Label as string, button.Tag as string);
You can add an argument to the constructor you have, or create a new one:
public SelectionDisplay(string itemId, string someOtherValue)
{
//...
}