| Thread | Last Post | Replies |
|
| Adding, removing MenuItem, does not release memory? | 17 Sep 2004 08:53 GMT | 2 |
Well, after developing a plugin based architecture, with lots of menuitems, i found that after adding a menuitem, and later removing, results in increased memory. I know all that thing with Dispose, finalizers, garbage collector, and so
|
| Why I can't use System.Management class libraries | 17 Sep 2004 06:45 GMT | 3 |
Hi, all Why I can't use System.Management class libraries? Best Regards Frank Jiao
|
| TreeView - node indexing like an Array? | 17 Sep 2004 02:29 GMT | 4 |
Is there any way to refer to nodes in a TreeView's hierarchial TreeNode structure by numeric indexes like with a simple Array? I need to associate indexes with each node and be able to lookup nodes using that index. Is there easier way to do this than recursively
|
| ErrorProvider with DataSet. How can I make it work | 16 Sep 2004 23:29 GMT | 1 |
As you all know, when we call EndCurrentEdit on a BindingManagerBase class, the associated DataSet's mechanisms for validating the data types, nullability, uniqueness, and other constraints are set in motion. If a constraint is violated, an exception is thrown. Now I want that ...
|
| Firing a SYSCOMMAND event from code | 16 Sep 2004 19:31 GMT | 1 |
I want to 'fire' a WM_SYSCOMMAND event w/ command type: SC_CONTEXTHELP. This is the event that gets called when the Context-Sensitive '?' button is pressed in a dialog under .NET. I figured all this out by using the Visual Studio.NET "Spy++" utility to record all of the event ...
|
| Control.SizeChanged event | 16 Sep 2004 19:19 GMT | 3 |
Here's a problem: I need to have the previous size of a control. The OnSizeChanged event triggers after a new size is supplied to the control, and on this eventhandler you'll have no idea of its previous size since it was already
|
| Using a component to add a control to a form | 16 Sep 2004 19:17 GMT | 2 |
I would like to use a component to add a control to a form. This will be used to make a component that can enable/disable visual features on a form without making every feature a toolbox item. I can add and remove the control to the forms component container by using
|
| ComboBox Setting A Default Value | 16 Sep 2004 16:53 GMT | 5 |
I have derived from a combo box which is linked to a static list of countries in the constructor I have used the following in the constructor to populate the box InitializeComponent();
|
| Need assistance with "What's This" Help implementation | 16 Sep 2004 15:37 GMT | 2 |
It was fairly 'easy' to implement the "What's This" Help arrow in MFC, but now I'm stumbling around trying to implement it in .NET, so... 1) If there's a good example of how this is done, please let me know. 2) Currently, I'm capturing the mouse (so I don't lose the "What's This"
|
| Incorrect InitializeComponent/.RESX Code Serialization | 16 Sep 2004 15:35 GMT | 2 |
When you have a control, and Localizable = FALSE, all child controls serialize into the InitializeComponent method. There are some exceptions, eg. Images have their value written into the .resx file. Eg. this.label1.Location = new System.Drawing.Point(104, 64);
|
| controls should be declared private | 16 Sep 2004 15:19 GMT | 4 |
(IMHO) I think it's poor design to directly refer to a form's controls outside of the form itself. Having to browse through all of them in intellisense is also annoying. Is there an IDE option that changes the form designer's default control declaration to Private instead of Friend? ...
|
| Complex ListBox - How do I create it? | 16 Sep 2004 14:03 GMT | 1 |
I want to create a list collection of complex frames. I.e. I want a listbox type of container, where the entries are complex ( each entry contains individual buttons / images / text ). My original idea was to use a custom listbox, and each item in the list
|
| Newbie: Error when calling a public function from other class | 16 Sep 2004 13:05 GMT | 6 |
I'm trying to call a public function located in a different class, but get an error message: Object reference not set to an instance of an object. I've got 2 classes: clsMain and clsData. In clsData I've a filled (private
|
| Reusing a Form's Toolbar and Menu | 16 Sep 2004 12:40 GMT | 1 |
I created a form with a toolbar and main menu. The form is basically a text editor similar to WordPad. Now I have a second form that I determined would benefit from having the toolbar and menu items (and associated code) from the first form. The second form has additional
|
| OpenFileDialog.ShowDialog() Causes StackOverflowException | 16 Sep 2004 12:36 GMT | 1 |
In C#, I kept on running into StackOverflowException in Main(). After some investigation, it looks like this happens whenever I call ShowDialog on an instance of OpenFileDialog. So here's what I did: I started a new windows form, added one button, and copied the OpenFileDialog ...
|