| Thread | Last Post | Replies |
|
| Consistently monitoring when a Form gets/loses focus. | 26 Oct 2004 07:11 GMT | 3 |
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
|
| Calling methods from previous form | 26 Oct 2004 06:27 GMT | 3 |
I have a form that calls another form....Is there any way to call method in the old form from the new form?
|
| Linebreak in C# SqlCommand.CommandText makes SQL fail | 26 Oct 2004 05:09 GMT | 1 |
I am using ADO.NET in a C# application to get data from a SQL Server 2000. The SqlCommand.CommandText is read from a text file. The text file with the Sql query contains line breaks that need to be conserved.
|
| Newbie Question | 26 Oct 2004 05:00 GMT | 1 |
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).
|
| How to call methods from previous using delegates? | 26 Oct 2004 03:16 GMT | 3 |
May I know how to call methods from previous form using delegates? Thanks.
|
| Transparent Control (Bob Powell's sample) and ZOrder problem? | 26 Oct 2004 00:41 GMT | 1 |
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, ...
|
| GDI object leak in forms | 25 Oct 2004 21:43 GMT | 1 |
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
|
| Close Button | 25 Oct 2004 21:42 GMT | 1 |
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 ...
|
| update from a row in a datagrid? | 25 Oct 2004 20:45 GMT | 3 |
That's nice you can edit a datagrid, but there doesn't seem to be any good way to grab the row after the edit is completed or a submit button is pressed? Is there? -Max (using VB)
|
| Init code after form visible | 25 Oct 2004 19:31 GMT | 2 |
Maybe this question has been answered before, if so please refer to answer: I want to run some initialization code in my main form, after the form is made visible. My current solution is to end form_init with the following:
|
| VS.NET form designer cannot show a derived form of an abstract cla | 25 Oct 2004 17:29 GMT | 2 |
I created an abstract base class with some features in it, something like: public abstract class MyBaseClass : Form { // constructor, destructor, etc...
|
| Failed to load resources from resource file. | 25 Oct 2004 15:55 GMT | 3 |
I've been struggling with this issue for some time and can't find any relevant information about it in any newsgroup, including the managed newsgroups. I have some information that might help someone else, though. I'm running a WinForm and get the following on startup:
|
| Proxy settings for HttpWebRequest | 25 Oct 2004 10:54 GMT | 1 |
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 ...
|
| Cannot minimize my win form application when I have a modal form opened ??!! | 25 Oct 2004 10:02 GMT | 4 |
My mainform is modeless, has mdiChilds, but I need to open modal forms from mdiChild => I cannot minimize mainform when a modal form is opened. I understand that's a "feature" = You cannot minimize applications that show a modal dialog.
|
| ImageLists on localized forms | 25 Oct 2004 08:01 GMT | 7 |
When setting Form.Localizable = True in Visual Studio, any ImageList on the form is copied/serialized into the resources for each language. This behavior is really annoying, since I only want to have _one_ copy of the icons (the same icons for all languages). Right now I have to ...
|