Searching for ( CSHARP )

How to Know Which Modifier Key Was Pressed

Added by Sixth Sense updated on Wednesday, March 28, 2018

If you handle the KeyDown event, the Modifiers property of the KeyEventArgs received by the event handler specifies which modifier keys are pressed. Alternatively, the KeyData property of KeyEventArgs specifies the character that was pressed as well as any modifier keys combined with a bitwise OR. However, if you are handling the KeyPress event or a mouse event, the event handler does not receive this information.

How to prevent DataGridView from flickering |Blinking

Added by Sixth Sense updated on Wednesday, March 7, 2018

Flickering is common problem in windows forms DataGridView when we use huge data to display. Overcome this problem is tricky part which we will discuss in this small snippet.

Accessing Objects Bound to Windows Forms DataGridView Rows

Added by Nasir Mahmood updated on Thursday, March 1, 2018

Accessing data-bound objects directly through row objects is useful when you do not have direct access to the data source containing the objects.

In this Snippet we will learn how we can access object bound to DataGridView Row. DataGridViewRow.DataBoundItem Property is the key by this property we can get our custom object quite easily.

Detecting WebBrowser Page is Loaded

Added by Mind Hunter updated on Friday, February 9, 2018

How can we detect when a System.Windows.Forms.WebBrowser control has done page done ?. What about Navigate and DocumentCompleted events of control but these events fire multiple times so what to do ????? Here is a solution !

Asynchronous method call in .net framework 3.5 c#

Added by Mind Hunter updated on Wednesday, February 7, 2018

In .NET Framework 4, the Task Parallel Library provides a new model for asynchronous and parallel programming and .NET 4.5 introduced the async and await keywords, simplifying asynchronous programming as much as possible. But for .Net 3.5 we have Delegates enable you to call a synchronous method in an asynchronous manner.


29 Tutorials
25 Snippets
6 Products


Contact Us

Contact us

Stay Connected