Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert - Repost Pin
Wes Aday8-Feb-10 4:48
professionalWes Aday8-Feb-10 4:48 
QuestionAlt+N click method Pin
kailuaboy6-Feb-10 17:31
kailuaboy6-Feb-10 17:31 
QuestionBinary serialization Pin
hain6-Feb-10 17:10
hain6-Feb-10 17:10 
AnswerRe: Binary serialization Pin
harold aptroot6-Feb-10 23:39
harold aptroot6-Feb-10 23:39 
GeneralRe: Binary serialization Pin
OriginalGriff6-Feb-10 23:59
mveOriginalGriff6-Feb-10 23:59 
GeneralRe: Binary serialization Pin
harold aptroot7-Feb-10 0:13
harold aptroot7-Feb-10 0:13 
GeneralRe: Binary serialization Pin
hain7-Feb-10 4:02
hain7-Feb-10 4:02 
QuestionLabel Edit Bug with Treeview, MDI Container and MDIChildForms Pin
CrazyNinjaMike26-Feb-10 16:27
CrazyNinjaMike26-Feb-10 16:27 
I uploaded a project that contains only the bug and nothing else.
It is here: http://www.megaupload.com/?d=I935FBST

There is the MDI container, a splitter and a treeview. I created 2 Childforms for the MDI container.
Here's the problem:
When I try to labeledit/beginedit a node in the treeview while Child Form 1 is not on top, it will basically simulate a canceledit after I type the first character. So if I wanted to edit the node's text to say, "David", all I will get from it is a "D" and it will stop the editing right there.

I tested it more and found this to be a messy solution:

private void treeView1_BeforeLabelEdit(object sender, NodeLabelEditEventArgs e)
{
if (this.HasChildren == true)
{
this.MdiChildren[0].BringToFront();
}

}


Is there a proper solution to this problem that doesn't force MdiChildren[0] to come to the front whenever any node's label is being edited?

Thank you,
Crazy
QuestionGetting values to Add up from a datagrid text box Pin
miggs706-Feb-10 13:49
miggs706-Feb-10 13:49 
AnswerRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff6-Feb-10 21:42
mveOriginalGriff6-Feb-10 21:42 
GeneralMessage Removed Pin
7-Feb-10 3:12
miggs707-Feb-10 3:12 
GeneralRe: Getting values to Add up from a datagrid text box [modified] Pin
OriginalGriff7-Feb-10 4:33
mveOriginalGriff7-Feb-10 4:33 
GeneralRe: Getting values to Add up from a datagrid text box Pin
miggs707-Feb-10 5:04
miggs707-Feb-10 5:04 
GeneralRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff7-Feb-10 5:12
mveOriginalGriff7-Feb-10 5:12 
GeneralRe: Getting values to Add up from a datagrid text box Pin
miggs707-Feb-10 6:10
miggs707-Feb-10 6:10 
GeneralRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff7-Feb-10 8:17
mveOriginalGriff7-Feb-10 8:17 
GeneralMessage Removed Pin
7-Feb-10 11:13
miggs707-Feb-10 11:13 
GeneralRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff7-Feb-10 22:31
mveOriginalGriff7-Feb-10 22:31 
GeneralMessage Removed Pin
8-Feb-10 1:48
miggs708-Feb-10 1:48 
GeneralRe: Getting values to Add up from a datagrid text box Pin
OriginalGriff8-Feb-10 2:05
mveOriginalGriff8-Feb-10 2:05 
Questionoverlapping area of n ractangles Pin
hotthoughtguy6-Feb-10 10:41
hotthoughtguy6-Feb-10 10:41 
Questionchange resource file dynamically Pin
jojoba20106-Feb-10 7:19
jojoba20106-Feb-10 7:19 
AnswerRe: change resource file dynamically Pin
Richard MacCutchan6-Feb-10 9:23
mveRichard MacCutchan6-Feb-10 9:23 
QuestionResource+C# Pin
jojoba20106-Feb-10 5:45
jojoba20106-Feb-10 5:45 
AnswerRe: Resource+C# Pin
Richard MacCutchan6-Feb-10 9:20
mveRichard MacCutchan6-Feb-10 9:20 

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.