C# control query manual