shown (178)


.net What's the best way to find long-running code in a Windows Forms Application

.net What's the best way to find long-running code in a Windows Forms Application

I inherited a Windows Forms app written in VB.Net. Certain parts of the app run dreadfully slow. What's the easiest way to find which parts of the code are holding things up? I'm looking for a way…


c# Optimize Windows Form Load Time

I have a Windows Form that takes quite a bit of time to load initially. However, each subsequent request to load the Form doesn't take as long. Is there a way to optimize a Form's load time?…


visual studio Windows Form Designer: Could not load file or assembly

Has anyone ever had the issue where trying to "View Designer" on a windows form in Visual Studio.NET causes the error: "Could not load file or assembly…" ? In this case, the assembly in question was…



c# How do I execute code AFTER a form has loaded?

In.NET, Windows Forms have an event that fires before the Form is loaded(Form.Load), but there is no corresponding event that is fired AFTER the form has loaded. I would like to execute some logic…


UNIX vs Windows memory deallocation

My understanding is that in unix, when memory is freed, the memory doesn't get returned back to the operating system, it stays in the process to be used again for the next call to malloc. On windows,…


.net Windows Forms-Multiple Event Loops

I have a Windows Forms(.NET) application that can have multiple documents open simultaneously. It would be convenient to have each document(form) running its own event loop. With brief experimentat…


algorithm Drawing a Topographical Map

I've been working on a visualization project for 2-dimensional continuous data. It's the kind of thing you could use to study elevation data or temperature patterns on a 2D map. At its core, it's rea…


winforms Best way to suspend control events in Windows Forms?

This seems like a very simple and a very common problem. The simplest example I can think of is this: The form has five checkboxes with a "check all/check none" checkbox above them. When a user selec…


.net Load vs. Shown events in Windows Forms

Hopefully I'm just missing something obvious, but I'm trying to get my head around the differences between the Load and the Shown events in Windows Forms. Traditionally, I've only used Load(or actual…


Cross Domain security error in Silverlight?

I'm trying to read a feed from Yahoo Pipes into a Silverlight Application. I keep getting a SecurityException, which sounds like a cross domain policy problem, but Yahoo pipes, if you go through the…




not how the android when keyboard layout soft move view