Click here to Skip to main content
15,909,498 members
Home / Discussions / C#
   

C#

 
AnswerRe: Identify Serial Ports Pin
Tim Paaschen7-Dec-06 19:10
Tim Paaschen7-Dec-06 19:10 
QuestionTreeview and refresh Pin
Saamir7-Dec-06 6:31
Saamir7-Dec-06 6:31 
QuestionI need a better aproach to this tree code. Pin
gesox0017-Dec-06 6:28
gesox0017-Dec-06 6:28 
AnswerRe: I need a better aproach to this tree code. Pin
Robert Rohde7-Dec-06 7:32
Robert Rohde7-Dec-06 7:32 
GeneralRe: I need a better aproach to this tree code. Pin
gesox00111-Dec-06 2:07
gesox00111-Dec-06 2:07 
QuestionGeting variables from UserControl Pin
Muntyness7-Dec-06 6:10
Muntyness7-Dec-06 6:10 
AnswerRe: Geting variables from UserControl Pin
Robert Rohde7-Dec-06 6:16
Robert Rohde7-Dec-06 6:16 
GeneralRe: Geting variables from UserControl Pin
Muntyness7-Dec-06 6:36
Muntyness7-Dec-06 6:36 
That worked perfectly, thanks. Smile | :)

Now for another (probably silly) question.

The user control gets created by a button press. It gets added to an array.
Now I want a button in the UserControl that can remove that particular UserControl from the GUI (and stop the code from seeing it)
Now I can remove it from the GUI with the button inside the UserControl, but I'm not sure how (or if) you can remove the user control from the array in the main form, from the button in the user control.

So is this possible? (I'm assuming some sort of event handler could be used)

If not, I can work around the problem, but it would be better (much better) to remove the control from the array.

- Munty
GeneralRe: Geting variables from UserControl Pin
Robert Rohde7-Dec-06 7:27
Robert Rohde7-Dec-06 7:27 
GeneralRe: Geting variables from UserControl Pin
Muntyness7-Dec-06 8:16
Muntyness7-Dec-06 8:16 
QuestionSwitch Question Pin
mcd24247-Dec-06 5:55
mcd24247-Dec-06 5:55 
AnswerRe: Switch Question Pin
User 66587-Dec-06 6:00
User 66587-Dec-06 6:00 
AnswerRe: Switch Question Pin
Colin Angus Mackay7-Dec-06 6:05
Colin Angus Mackay7-Dec-06 6:05 
GeneralRe: Switch Question Pin
mcd24247-Dec-06 6:14
mcd24247-Dec-06 6:14 
GeneralRe: Switch Question Pin
Colin Angus Mackay7-Dec-06 6:18
Colin Angus Mackay7-Dec-06 6:18 
AnswerRe: Switch Question Pin
Robert Rohde7-Dec-06 6:19
Robert Rohde7-Dec-06 6:19 
GeneralRe: Switch Question Pin
Not Active7-Dec-06 6:27
mentorNot Active7-Dec-06 6:27 
GeneralRe: Switch Question Pin
Robert Rohde7-Dec-06 7:19
Robert Rohde7-Dec-06 7:19 
GeneralRe: Switch Question Pin
Not Active7-Dec-06 7:31
mentorNot Active7-Dec-06 7:31 
GeneralRe: Switch Question Pin
Robert Rohde7-Dec-06 7:46
Robert Rohde7-Dec-06 7:46 
QuestionDatabase Problem Pin
mfcuser7-Dec-06 5:34
mfcuser7-Dec-06 5:34 
AnswerRe: Database Problem Pin
Paul Conrad7-Dec-06 5:37
professionalPaul Conrad7-Dec-06 5:37 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 5:50
mfcuser7-Dec-06 5:50 
GeneralRe: Database Problem Pin
Paul Conrad7-Dec-06 5:56
professionalPaul Conrad7-Dec-06 5:56 
GeneralRe: Database Problem Pin
mfcuser7-Dec-06 6:10
mfcuser7-Dec-06 6:10 

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.