Click here to Skip to main content
15,914,452 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# .NET question Pin
Christian Graus16-Jul-02 10:44
protectorChristian Graus16-Jul-02 10:44 
GeneralRe: C# .NET question Pin
Anonymous16-Jul-02 12:00
Anonymous16-Jul-02 12:00 
GeneralRe: C# .NET question Pin
Christian Graus16-Jul-02 12:32
protectorChristian Graus16-Jul-02 12:32 
GeneralRe: C# .NET question Pin
Eric Gunnerson (msft)17-Jul-02 12:49
Eric Gunnerson (msft)17-Jul-02 12:49 
GeneralRe: C# .NET question Pin
Christian Graus17-Jul-02 13:07
protectorChristian Graus17-Jul-02 13:07 
GeneralRe: C# .NET question Pin
Eric Gunnerson (msft)17-Jul-02 13:38
Eric Gunnerson (msft)17-Jul-02 13:38 
GeneralRe: C# .NET question Pin
Feng Qin16-Jul-02 15:09
Feng Qin16-Jul-02 15:09 
GeneralCollections and Controls Pin
Paul Selormey15-Jul-02 18:50
Paul Selormey15-Jul-02 18:50 
Hello All,
I have a component (say AManager) managing a set of custom controls (say AView) as standard collection on .NET form.

A property of the AManager (Views) displays the collection editor dialog with the "Add" and "Remove" buttons.

Now, the problem is, the "Add" button adds a new AView object to the collection and the necessary code is generated in the Form file. However, the code which will add the custom control to the form is not generated and therefore the control does not appear on the form. I had to manually update this part.

ie. the following line in the form source is not updated
this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                          this.customControl12,
                                          this.customControl11});

when I use the collection editor to add customControl13 to the collection. So, I have to manually add the line as:
this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                          this.customControl13,
                                          this.customControl12,
                                          this.customControl11});

Any help? Am I missing some attributes?

Best regards,
Paul.


Jesus Christ is LOVE! Please tell somebody.
GeneralIterate and modify Pin
J. Ehrnström15-Jul-02 14:10
J. Ehrnström15-Jul-02 14:10 
GeneralRe: Iterate and modify Pin
James T. Johnson15-Jul-02 14:29
James T. Johnson15-Jul-02 14:29 
GeneralRe: Iterate and modify Pin
J. Ehrnström15-Jul-02 15:02
J. Ehrnström15-Jul-02 15:02 
GeneralRe: Iterate and modify Pin
Eric Gunnerson (msft)16-Jul-02 5:32
Eric Gunnerson (msft)16-Jul-02 5:32 
GeneralRe: Iterate and modify Pin
J. Ehrnström17-Jul-02 1:29
J. Ehrnström17-Jul-02 1:29 
GeneralReflection Pin
Christian Graus15-Jul-02 12:28
protectorChristian Graus15-Jul-02 12:28 
GeneralRe: Reflection Pin
Andy Smith15-Jul-02 13:50
Andy Smith15-Jul-02 13:50 
GeneralRe: Reflection Pin
Christian Graus15-Jul-02 13:55
protectorChristian Graus15-Jul-02 13:55 
GeneralRe: Reflection Pin
Andy Smith15-Jul-02 14:13
Andy Smith15-Jul-02 14:13 
GeneralRe: Reflection Pin
Christian Graus15-Jul-02 14:19
protectorChristian Graus15-Jul-02 14:19 
GeneralRemoting and Load balancing in Multi tier Pin
Orion Buttigieg15-Jul-02 12:21
Orion Buttigieg15-Jul-02 12:21 
GeneralPosition in file Pin
Nnamdi Onyeyiri15-Jul-02 10:28
Nnamdi Onyeyiri15-Jul-02 10:28 
QuestionCode Profiler/Stack Tracer??? Pin
tdb15-Jul-02 7:09
tdb15-Jul-02 7:09 
AnswerRe: Code Profiler/Stack Tracer??? Pin
leppie15-Jul-02 8:01
leppie15-Jul-02 8:01 
GeneralRe: Code Profiler/Stack Tracer??? Pin
tdb15-Jul-02 8:16
tdb15-Jul-02 8:16 
GeneralRemoving CR-LF's from a string using Regex Pin
sultan_of_6string15-Jul-02 6:07
sultan_of_6string15-Jul-02 6:07 
GeneralRe: Removing CR-LF's from a string using Regex Pin
leppie15-Jul-02 6:49
leppie15-Jul-02 6:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.