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 > october 2004 > threads for monday october 25

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

GDI object leak in forms
Posted by Jamie at 10/25/2004 8:37:59 PM
I am using .net 1.1 SP1 Every time I open a new form then close it my application gains 2 GDI object. Apparently it is caused by a smallIcon field which is not disposed correctly Can some tell me how to get round this problem in c# ? ...more >>


Transparent Control (Bob Powell's sample) and ZOrder problem?
Posted by Ă–zden Irmak at 10/25/2004 8:35:33 PM
Hi, I created a transparent control using Bob Powell's transparent control sample. I'm hosting this control in a designer and BringToFront/SendToBack does not have any effect in this control until the user moves/resizes the control.I tried many ways including refresh, invalidate, move the c...more >>

Newbie Question
Posted by jason NO[at]SPAM cambia.org.au at 10/25/2004 5:25:43 PM
Sorry if this question seems naive: I'm writing a Windows Forms application in which all UI code is in the Form1 class (controls added using the designer and event handler code added by me). My intention was to create a second class (called MasterDeviceControl) which would contain functions to ...more >>

Close Button
Posted by Dave at 10/25/2004 12:45:02 PM
I have a login form and after name and password that forms closes and my database form opens up. I need to code so that when a user clicks the close button (the X on top right) it displays a dialog that gives them the option to cancel or exit. If they exit it brings back the login form. I h...more >>

Consistently monitoring when a Form gets/loses focus.
Posted by Phil Jones at 10/25/2004 12:41:25 PM
I'm wanting to monitor the focused state of a Form. In working with the GotFocus and LostFocus events of the Form object I notice that these only fire if the actual Form object has focus. If any of it's sub-controls have the focus (which is generally the case) the form will not fire the ev...more >>

Treeview (Setting the selected cell in code)
Posted by Fred Herring at 10/25/2004 12:41:05 PM
I use large treeviews in my application. I have trouble getting back to where I was working when I repaint my tree. How can I in code, flag the node I was working on before the repaint and have that node come up as being selected after the repaint? Thanks, Fred Herring...more >>

Updating the UI from a Secondary Thread
Posted by BG at 10/25/2004 12:06:45 PM
We're having trouble writing the code to update a UI control (label.Text) from a secondary thread. We're using C# with Windows Forms. We have a main form named MainForm, a splash screen form named SplashScreen, and a C# class library named BackgroundProcess. On application start, we...more >>

How to call methods from previous using delegates?
Posted by Ryu at 10/25/2004 11:18:15 AM
Hi, May I know how to call methods from previous form using delegates? Thanks. ...more >>



Project Wide Constant?
Posted by localhost at 10/25/2004 10:05:20 AM
I want to create a constant (string) value for a project and use it to assign values to Attributes that decorate certain WinForms. Then I will only need to change certain annotations in one place. How can I do that? Thanks. ...more >>

Proxy settings for HttpWebRequest
Posted by Vincent Mouton at 10/25/2004 9:46:54 AM
Hi, a quick question. When calling a URI using a HttpWebRequest I always add the necessary proxy settings uptill now. But I'm just wondering if I actually need to do this. When a user defined proxy settings for the default connection on his OS, are those settings used? Is the request with...more >>

VS.NET form designer cannot show a derived form of an abstract cla
Posted by Edmundo at 10/25/2004 9:03:05 AM
Hi, I created an abstract base class with some features in it, something like: public abstract class MyBaseClass : Form { // constructor, destructor, etc... } And I created a derived class from it, like: public class MyDerivedClass : MyBaseClass { // constructor, destructor, e...more >>

Hide windows form onLoad
Posted by Leon at 10/25/2004 7:35:05 AM
When i load up my application I want to Hide the start form and open up a preview form, Im trying with private void Form1_Load(object sender, System.EventArgs e) { this.Hide(); Form form2 = new Form2(); form2.Show(); } but its n...more >>


DevelopmentNow Blog