Snippets

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.


Cross Thread Update UI using SynchronizationContext | .Net

Added by Nasir Mahmood updated on Saturday, February 10, 2018

Multithreaded programming can be quite difficult, and there’s a tremendous body of concepts and tools to learn when one embarks on this task. To help out, the Microsoft .NET Framework provides the SynchronizationContext class. Unfortunately, many developers aren’t even aware of this useful tool.



Killing Process Using C#

Added by Sixth Sense updated on Tuesday, February 6, 2018

Here we will discuss different ways to kill a process using c-sharp programmatically.


Lock System Using VB Script

Added by Sixth Sense updated on Monday, December 11, 2017

This is small script by which windows can be locked just double click.


How To Bind Enum To ComboBox In WinForms Using C#

Added by Sixth Sense updated on Thursday, December 7, 2017

The following code snippet demonstrates how to bind enum to combobox in winforms using c#.


About

29 Tutorials
25 Snippets
6 Products

More

Contact Us

Contact us

Stay Connected