How to programmatically iterate datagrid rows? * Cinema Guy 15:08 Add Comment Edit Question I'm suddenly back to WinForms, after years of web development, and am having trouble with something that should be simple. I ... Read More
How do I make event callbacks into my win forms thread safe? * Cinema Guy 10:32 Add Comment Edit Question When you subscribe to an event on an object from within a form, you are essentially handing over control of your callback method to... Read More
Should I provide accessor methods / Getter Setters for public/protected components on a form? * Cinema Guy 07:35 Add Comment Edit Question If I have .Net Form with a component/object such as a textbox that I need to access from a parent or other form I obviously need to... Read More
Print a Winform/visual element * Cinema Guy 13:58 Add Comment Edit Question All the articles I've found via google are either obsolete or contradict one another. What's the easiest way to print a ... Read More
How to make a button appear as if it is pressed? * Cinema Guy 09:21 Add Comment Edit Question Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button look "pressed"? Imagine this button is an on/off s... Read More
Possible to "spin off" several GUI threads? (Not halting the system at Application.Run) * Cinema Guy 14:19 Add Comment Edit Question My Goal I would like to have a main processing thread (non GUI), and be able to spin off GUIs in their own background threads ... Read More
How should I translate from screen space coordinates to image space coordinates in a WinForms PictureBox? * Cinema Guy 13:28 Add Comment Edit Question I have an application that displays an image inside of a Windows Forms PictureBox control. The SizeMode of the control is set to... Read More
Global Exception Handling for winforms control * Cinema Guy 13:05 Add Comment Edit Question When working on ASP.NET 1.1 projects I always used the Global.asax to catch all errors. I'm looking for a similar way to catch ... Read More
Displaying Flash content in a C# WinForms application * Cinema Guy 22:35 Add Comment Edit Question What is the best way to display Flash content in a C# WinForms application? I would like to create a user control (similar to the... Read More
WinForms ComboBox data binding gotcha * Cinema Guy 09:09 Add Comment Edit Question Ok, I'm a web developer, but I find myself dabbling in windows forms projects every now and then. One thing that confounds me t... Read More
When setting a form's opacity should I use a decimal or double? * Cinema Guy 14:42 Add Comment Edit Question I want to use a track-bar to change a form's opacity. This is my code: decimal trans = trackBar1.Value / 5000; this.Opaci... Read More