the same question appares second time in this afternoon, I check out the code from begin to end, find the code contains the these codes (Application.En ableVisualStyle s();
Application.DoE vent(); )
put these disappeared, the application is running normal.
User Profile
Collapse
-
the listBox control's datasource must be the key-value pairs collection, the listbox control's display member is the value part and the listBox control's value member is the key part.
Your list contains the values part and no key part, so listBox's value member is none,
you can get the listBox's display memeber, such as listBox.Text, not listBox.selecte dValue.Leave a comment:
-
at this time, i can't find out the reason about this question. and then I use another method to implement the same function, and thank you very much for help.I will explore this question in other times, not now.Leave a comment:
-
i found it is not the question about the timer control, and now don't know what reason about this question. maybe it's about the container(Use the tabControl control about the third part plug-in), and looking forward to other answers......Leave a comment:
-
<Code>
static void main(){
FormSplitter formSplitter = new FormSplitter();
formSplitter.sh ow();
}
</code>
it's correct.
<code>
private timer1_Tick(obj ect sender, System.EventArg s e){
FormSplitter formSplitter = new FormSplitter();
formSplitter.sh ow();
}
</code>
the timer's Interval is 1000ms.
it's error.
...Leave a comment:
-
this morning, I find it throws error exception in the timer control's tick event. and it's normal in other place where opens the form which contains the splitter control, I think it's about the timer controlLeave a comment:
-
move splitter control with Exception
recently, I use the splitter control in my winform project. at the application running, it throws the exception(Syste m.Runtime.Inter opServices.SEHE xception) as moving the splitter control.
I test it that second time or direct open the form which contains the splitter control, it's normal. In my application, it's opened as third time. the form which contains the splitter control is opened in the container both in test and application....
No activity results to display
Show More
Leave a comment: