Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > .NET > C#

C# - Page 3

41-48 of 48     Previous     Next
How to Determine the Item Selected from a Property Grid Drop-down List
by Vladimir Shaposhnik
In Visual Studio, when you select an item on a form you're building, the Property Grid appears and lets you set various properties (e.g. background color, width, height, text color, etc.) from a two-column table. This tip shows how to know which item a user selects from the drop-down list.
Set Two Items of a Property Grid from the Drop-down List
by Vladimir Shaposhnik
The example in this tip demonstrates the technique for setting two items of a property grid from the drop-down list
Restrict Users to Launching Only One Instance of an Application
by Vimal Kanth
Use this code to restrict users to launching only one instance of an application.
Create and Retrieve a Named DataSet
by Victor Stefanescu
Use this C# function to create and retrieve a named DataSet using an open connection and a command.
How To Add New Rows to a Filtered DataView
by Navin Varma
Find out how to add a new row to a datagrid bound to a dataview with a rowfilter defined.
Use C#'s Reflection to Retrieve Application Information
by Bradley L. Jones
C#'s Reflection capability allows you to reflect a class upon itself to determine the methods or properties it contains.
Processing a Native Window Message Inside a Non-visual Class
by Vladimir Shaposhnik
This code allows you to treat a native window message inside any non-visual class in a library.
Use a Regular Expression to Initialize a String Array (C#)
by A. Russell Jones, Executive Editor
Want to declare and initialize a string array, but tired of typing all those quotes and commas? You can do it with one line of code.
41-48 of 48     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date