Searching for ( WINFORMS )

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.



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 !


Read Write Settings at Run Time With C#

Added by Mind Hunter updated on Wednesday, January 3, 2018

In this small tutorial we will discuss How To Read and Write Settings at Run Time With C#.


Update ComboBox Items Runtime in Winforms C#

Added by Mind Hunter updated on Thursday, December 7, 2017

We want modify dictionary contents but changes are not reflected as we want. According to MSDN documentation ,When the DataSource property is set, the items collection cannot be modified.
Altering the dictionary object directly will not affect the ComboBox.Because the BindingSource instance used as DataSource owns a full copy of it.


About

32 Tutorials
27 Snippets
6 Products

More

Contact Us

Contact us

Stay Connected