Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
Questionc# problem with combobox in form opened in panel Pin
Member 1182236414-Dec-15 5:27
Member 1182236414-Dec-15 5:27 
AnswerRe: c# problem with combobox in form opened in panel Pin
Simon_Whale14-Dec-15 5:37
Simon_Whale14-Dec-15 5:37 
GeneralRe: c# problem with combobox in form opened in panel Pin
Member 1182236414-Dec-15 5:47
Member 1182236414-Dec-15 5:47 
GeneralRe: c# problem with combobox in form opened in panel Pin
Simon_Whale14-Dec-15 5:51
Simon_Whale14-Dec-15 5:51 
GeneralRe: c# problem with combobox in form opened in panel Pin
Member 1182236414-Dec-15 5:56
Member 1182236414-Dec-15 5:56 
GeneralRe: c# problem with combobox in form opened in panel Pin
Simon_Whale14-Dec-15 5:57
Simon_Whale14-Dec-15 5:57 
GeneralRe: c# problem with combobox in form opened in panel Pin
Member 1182236414-Dec-15 6:04
Member 1182236414-Dec-15 6:04 
GeneralRe: c# problem with combobox in form opened in panel Pin
Eddy Vluggen14-Dec-15 6:13
professionalEddy Vluggen14-Dec-15 6:13 
..which is tucked away in a method called "InitializeComponent". That method is called when the form is created. Hiding the form and showing it won't execute the method again. Yes, that may cause weird stuff.

I'd recommend showdialog a form and disposing it when done, preferably wrapped in a using-construct.

--edit
foxed fixed typo.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: c# problem with combobox in form opened in panel Pin
Simon_Whale14-Dec-15 6:16
Simon_Whale14-Dec-15 6:16 
GeneralRe: c# problem with combobox in form opened in panel Pin
Member 1182236414-Dec-15 6:25
Member 1182236414-Dec-15 6:25 
GeneralRe: c# problem with combobox in form opened in panel Pin
Simon_Whale14-Dec-15 6:27
Simon_Whale14-Dec-15 6:27 
GeneralRe: c# problem with combobox in form opened in panel Pin
Member 1182236414-Dec-15 6:32
Member 1182236414-Dec-15 6:32 
GeneralRe: c# problem with combobox in form opened in panel Pin
Member 1182236414-Dec-15 6:29
Member 1182236414-Dec-15 6:29 
AnswerRe: c# problem with combobox in form opened in panel Pin
BillWoodruff14-Dec-15 7:28
professionalBillWoodruff14-Dec-15 7:28 
GeneralRe: c# problem with combobox in form opened in panel Pin
Member 1182236414-Dec-15 8:17
Member 1182236414-Dec-15 8:17 
GeneralRe: c# problem with combobox in form opened in panel Pin
BillWoodruff14-Dec-15 17:01
professionalBillWoodruff14-Dec-15 17:01 
QuestionVideo explanation about the algorithm id3 Pin
Member 1217033013-Dec-15 3:46
Member 1217033013-Dec-15 3:46 
AnswerRe: Video explanation about the algorithm id3 Pin
OriginalGriff13-Dec-15 4:07
mveOriginalGriff13-Dec-15 4:07 
GeneralRe: Video explanation about the algorithm id3 Pin
Member 1217033013-Dec-15 4:52
Member 1217033013-Dec-15 4:52 
GeneralRe: Video explanation about the algorithm id3 Pin
Dave Kreskowiak13-Dec-15 5:00
mveDave Kreskowiak13-Dec-15 5:00 
GeneralRe: Video explanation about the algorithm id3 Pin
OriginalGriff13-Dec-15 5:09
mveOriginalGriff13-Dec-15 5:09 
Questionhow to retrieve data from d.b by click event on a dynamic picture.. Pin
Ahsan Ullah khan12-Dec-15 23:45
Ahsan Ullah khan12-Dec-15 23:45 
AnswerRe: how to retrieve data from d.b by click event on a dynamic picture.. Pin
OriginalGriff13-Dec-15 0:07
mveOriginalGriff13-Dec-15 0:07 
AnswerRe: how to retrieve data from d.b by click event on a dynamic picture.. Pin
Eddy Vluggen14-Dec-15 6:20
professionalEddy Vluggen14-Dec-15 6:20 
Questionhow to open crystal report files without installing it Pin
Member 1157949012-Dec-15 14:16
Member 1157949012-Dec-15 14:16 

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.