winform
-
C# Application Not Responding Issue on Long Running Threads
Undoubtedly many of you have encountered the dreaded “Application Not Responding” message, programmers and non-programmers alike. In general, this is caused by the OS misinterpretation of long delays in form refresh, even though these can easily be caused by a… Continue reading
-
AppActivate In C#
Note: This code was only tested on Windows 10. AppActivate, which many of you may recognize from VB activates a window for an application which is already running, bringing the window of that app to the foreground. In C#, there… Continue reading
-
Winforms Databinding
Snippets below have been condensed from their original sources for brevity. See references for original articles. Dataset usage: Binding DataGridView: References: MSDN, “DataSet Class”, http://msdn.microsoft.com/en-us/library/system.data.dataset.aspx MSDN, “How to: Bind Data to the Windows Forms DataGridView Control”, http://msdn.microsoft.com/en-us/library/fbk67b6z.aspx Continue reading