Click here to Skip to main content
15,893,594 members
Home / Discussions / C#
   

C#

 
GeneralRe: WebBrowser control displaying security alert dialogs Pin
GriffonRL20-Feb-03 5:57
GriffonRL20-Feb-03 5:57 
GeneralRe: WebBrowser control displaying security alert dialogs Pin
Stephane Rodriguez.20-Feb-03 6:35
Stephane Rodriguez.20-Feb-03 6:35 
GeneralLogin & Application Form Pin
vladmihai20-Feb-03 5:16
vladmihai20-Feb-03 5:16 
GeneralRe: Login & Application Form Pin
Nnamdi Onyeyiri20-Feb-03 5:34
Nnamdi Onyeyiri20-Feb-03 5:34 
GeneralRe: Login & Application Form Pin
Chris Austin20-Feb-03 5:35
Chris Austin20-Feb-03 5:35 
GeneralRe: Login & Application Form Pin
vladmihai20-Feb-03 8:49
vladmihai20-Feb-03 8:49 
GeneralRe: Login & Application Form Pin
Chris Austin20-Feb-03 9:16
Chris Austin20-Feb-03 9:16 
GeneralThe chicken-and-egg problem. OO HELP!! Pin
~toki20-Feb-03 4:01
~toki20-Feb-03 4:01 
GeneralRe: The chicken-and-egg problem. OO HELP!! Pin
Nnamdi Onyeyiri20-Feb-03 5:44
Nnamdi Onyeyiri20-Feb-03 5:44 
QuestionHow to know which version of Microsoft Office are installed Pin
Hawkmoon19-Feb-03 23:34
Hawkmoon19-Feb-03 23:34 
AnswerRe: How to know which version of Microsoft Office are installed Pin
Stephane Rodriguez.20-Feb-03 5:39
Stephane Rodriguez.20-Feb-03 5:39 
GeneralRe: How to know which version of Microsoft Office are installed Pin
Hawkmoon20-Feb-03 23:25
Hawkmoon20-Feb-03 23:25 
QuestionHow to display a window form inside another form Pin
faad19-Feb-03 19:57
faad19-Feb-03 19:57 
AnswerRe: How to display a window form inside another form Pin
Chris Austin20-Feb-03 3:45
Chris Austin20-Feb-03 3:45 
GeneralRe: How to display a window form inside another form Pin
faad20-Feb-03 17:42
faad20-Feb-03 17:42 
GeneralRe: How to display a window form inside another form Pin
Chris Austin20-Feb-03 18:32
Chris Austin20-Feb-03 18:32 
GeneralThis is a dump question. Pin
Braincrash19-Feb-03 14:25
Braincrash19-Feb-03 14:25 
GeneralRe: This is a dump question. Pin
jtmtv1819-Feb-03 19:31
jtmtv1819-Feb-03 19:31 
GeneralRe: This is a dump question. Pin
Braincrash20-Feb-03 13:33
Braincrash20-Feb-03 13:33 
GeneralDesigner doesn't delete code Pin
crosenbury19-Feb-03 10:53
crosenbury19-Feb-03 10:53 
I have a component that uses DesignerSerializationVisibility to serialize collection items to code.

It works great for adding new items to the collection, and rending them as well.

I cannot seem to get them to delete from the code when the parent is deleted.

Example:
I have a variation of the ToolBar, where the button collection is my own extension of the ToolBarButton.

When I add a button, it adds the code to the code file, creating and setting the values.

When I go into the button collection, and remove the buttons manually, the code goes away.

But if I just delete the tool bar, without deleting the buttons, the code for the buttons remains.

Things I have tried:
1) Adding the buttons to the components list.
2) Using the dispose method to dispose of the buttons.
3) Using the dispose method to manually delete the objects from the collection.

The tool bar class extends ToolBar, the button class extends ToolBarButton, and the collection extends CollectionBase.

I have also tried adding the buttons to the base class, but the code is still not removed.

The control seems to work fine, it just won't get rid of the code in the designer. The objects are even being disposed, as the next button I create starts at 1 again, and causes duplicate code entry (which is how I found the problem.)

Any help would be greatly appreciated. Confused | :confused:

Chris Rosenbury
QuestionMove a Webbrowser to a new window? Pin
Bog19-Feb-03 7:53
Bog19-Feb-03 7:53 
AnswerRe: Move a Webbrowser to a new window? Pin
Stephane Rodriguez.19-Feb-03 11:07
Stephane Rodriguez.19-Feb-03 11:07 
GeneralRe: Move a Webbrowser to a new window? Pin
Bog20-Feb-03 6:55
Bog20-Feb-03 6:55 
GeneralSearching a C# String Pin
vlusardi19-Feb-03 7:29
vlusardi19-Feb-03 7:29 
GeneralRe: Searching a C# String Pin
Chris Austin19-Feb-03 8:19
Chris Austin19-Feb-03 8:19 

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.