The calling thread must be STA, because many UI components require this

Posted by Bhuvana under ASP.NET on 5/30/2013 | Points: 10 | Views : 2444 | Status : [Member] | Replies : 0
hi
The calling thread must be STA, because many UI components require this.
how to solve this thread Am given below my code

foreach (TabletDevice tabletDevice in Tablet.TabletDevices)
{
//Only detect if it is a touch Screen not how many touches (i.e. Single touch or Multi-touch)
if (tabletDevice.Type == TabletDeviceType.Touch)
return true;
}

Thanks & Regards
Bhuvana



Responses

(No response found.)

Login to post response