Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet windows forms > march 2006 > threads for tuesday march 28

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Fast Searches of a Thread Safe Collection of Structs
Posted by Jeff S. at 3/28/2006 9:35:05 PM
In a Windows Forms application I plan to have a collection of structs - each of which contains a bunch of properties describing a person (e.g., LastName, FirstName, EmployeeID, HomeAddress, ZipCode, etc). So each instance of the struct will describe a person - and about 900 instances (people) ...more >>

Store multi-choice groupbox selection in a field
Posted by dbuchanan at 3/28/2006 6:25:43 PM
I am designing a table to contain a field to stores a value that must indicate none, one, or many choices. The form will have a group box with checkboxes (multi-choice) You see the records in this table contain partially pre-configured records. The records serve as "master" data that will late...more >>

ConfigurationManager
Posted by Magnus at 3/28/2006 6:20:15 PM
Hello! I have found some code saying that the correct way to get application settings is to use the ConfigurationManager that is in namespace System.Configuration, but in my VS2005 enviroment this doesn't exists. What am I doing worng?!?!?! How should I do it? Regards Magnus ...more >>

NET permissions, user objects and IE
Posted by Carlos Lozano at 3/28/2006 4:31:01 PM
Hi, I will appreciate any insights to set the right permissions to a Windows Forms Control that is embedded in an html document. The control will be downloaded by the html doc to the local system to do its job. It requires file system and registry access rights (read/write). One of the ...more >>

Fill collection property from a property grid
Posted by Vlado at 3/28/2006 3:35:58 PM
VS2005 C# I have something like this: public class MyControl : Panel { private SomeCollection myCollectionProp = new SomeCollection(); public SomeCollection MyCollectionProp { get { return this.myCollectionP...more >>

BackgroundWorker and Business Logic Coupling
Posted by pearsons_11114 at 3/28/2006 2:48:03 PM
All of the BackgroundWorker examples I've seen so far are toy in the sense that the worker logic is embedded in the form. Normally business logic is decoupled from presentation. However, I can't see any direct way to implement the business logic without out a dependency on BackgroundWorker. ...more >>

Perform a LIKE filter on DataView Integer column?
Posted by Chris Botha at 3/28/2006 1:02:06 PM
Don't know if this can be done, but if I have a DataTable/DataView that has an integer column. Is there a way to do a "LIKE '123%'" kind of a filter on the column, which obviously works for text a text column. Thanks. ...more >>

tabbing within a group
Posted by news.microsoft.com at 3/28/2006 12:42:54 PM
I have couple of group boxes on my windows form. How can I tab on controls only inside a group which I have focus on. Somehow it tabs across all the group boxes on all the controls. I did use the visual studio tab order property to set tabindex for each control and group. ...more >>



Databind to a single instance of a class
Posted by moondaddy at 3/28/2006 8:57:46 AM
I've seen plenty of examples where you can databind to a list of objects, but in this case I want to bind to a single instance and have no use for a list. Can anyone refer a good example of how to do this in .net 2.0? Thanks. -- moondaddy@nospam.nospam ...more >>

WM_ERASEBKGND problem
Posted by jh at 3/28/2006 7:00:02 AM
I've encountered a strange problem with GDI/GDI+ and windows forms/win32. To explain it shortly: I've a user control with a NC area. When painting the NC area I ask for a window DC using GetDCEx with parameters DCX_WINDOW | DCX_CACHE. I also use the wParam of the WM_NCPAINT message which conta...more >>

How to Determine if Windows Form is hidden?
Posted by JD at 3/28/2006 3:41:05 AM
At run time I want to know if my form is "hidden" behind another window. The "Visible" property of the form returns true even when the form is NOT Visible! My application updates the form at intervals - I only want this to occur if the user can actually see the form. Anyone know how I...more >>

MDI Child, incorrect maximize of forms
Posted by Tore at 3/28/2006 3:41:04 AM
I have a MDI windows client written in C#. I try to control maximize and normal size of forms by using: this.WindowState = FormWindowState.Normal; If I have a maximized MDI child form and open another child form containing the line of code above both child forms end up in Normal state. It ...more >>

User settings and splitcontainer issue
Posted by Jeff at 3/28/2006 2:46:01 AM
I'm having a problem when using multiple splitcontainers on a form and saving user settings for the SplitterDistance. Here's a description: I place one splitcontainer in my bare form, add a project setting called, e.g., splitDist1 which is an int user setting, and attach it to the SplitterD...more >>

Bind a button's enabled property to a custom object
Posted by moondaddy at 3/28/2006 1:46:10 AM
I have a group of buttons which I want to bind thier enabled properties to properties of a custom object (all of which will be boolean value types). How do I do this? -- moondaddy@nospam.nospam ...more >>

System.Threading.ThreadStateException while instantiating WebBrowser control
Posted by Duncan Bayne at 3/28/2006 12:00:00 AM
Hi All, I have an WinForms 2.0 application that creates a user control, which contains a System.Windows.Forms.WebBrowser control. This works fine until I refactor the application to only create the user control upon an event being fired. Then, this line in the designer-generated Initia...more >>


DevelopmentNow Blog