Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
GeneralRe: What's more easy for the machine? Pin
shopi3018-Jan-06 1:25
shopi3018-Jan-06 1:25 
AnswerRe: What's more easy for the machine? Pin
DavidNohejl17-Jan-06 21:47
DavidNohejl17-Jan-06 21:47 
GeneralRe: What's more easy for the machine? Pin
shopi3018-Jan-06 1:25
shopi3018-Jan-06 1:25 
QuestionFirewall development using C#(need help) Pin
MACODER17-Jan-06 18:37
MACODER17-Jan-06 18:37 
AnswerRe: Firewall development using C#(need help) Pin
Colin Angus Mackay17-Jan-06 22:54
Colin Angus Mackay17-Jan-06 22:54 
AnswerRe: Firewall development using C#(need help) Pin
Dave Kreskowiak18-Jan-06 5:10
mveDave Kreskowiak18-Jan-06 5:10 
QuestionC# program for transparent screen lock Pin
siwei9917-Jan-06 16:30
siwei9917-Jan-06 16:30 
Question2 TreeView Issues Pin
LighthouseJ17-Jan-06 16:01
LighthouseJ17-Jan-06 16:01 
I'm kinda new to C#. I'm trying to make a program with a TreeView. My program creates 2 nodes when the program loads and all data appears as children to those two nodes. I also have a context menu that is set to change depending on the type of selection made.

The first issue is when the program starts, the first node is selected and it's context menu comes up automatically. How can I stop that? I tried to see if I could make an exception but nothing worked out.

The second is when I use the ContextMenu Show() function, I give it an ordered pair location to anchor the top-left corner. I tried to use various things inside the control to give a position of the mouse but the context menu always appears at 8,8 from the corner of the tree view. How can I figure out what coordinates the mouse was at when it clicked on the item?

Thanks in advance.
QuestionControl/literal Pin
student_rhr17-Jan-06 14:22
student_rhr17-Jan-06 14:22 
AnswerRe: Control/literal Pin
Christian Graus17-Jan-06 14:31
protectorChristian Graus17-Jan-06 14:31 
AnswerRe: Control/literal Pin
Guffa17-Jan-06 21:57
Guffa17-Jan-06 21:57 
QuestionTopMost Window Pin
Careth Jefferson17-Jan-06 13:51
Careth Jefferson17-Jan-06 13:51 
AnswerRe: TopMost Window Pin
Christian Graus17-Jan-06 14:02
protectorChristian Graus17-Jan-06 14:02 
AnswerRe: TopMost Window Pin
Careth Jefferson17-Jan-06 14:14
Careth Jefferson17-Jan-06 14:14 
GeneralRe: TopMost Window Pin
Christian Graus17-Jan-06 14:15
protectorChristian Graus17-Jan-06 14:15 
GeneralRe: TopMost Window Pin
Careth Jefferson17-Jan-06 19:08
Careth Jefferson17-Jan-06 19:08 
GeneralRe: TopMost Window Pin
Christian Graus18-Jan-06 8:54
protectorChristian Graus18-Jan-06 8:54 
AnswerRe: TopMost Window Pin
DigitalKing17-Jan-06 14:18
DigitalKing17-Jan-06 14:18 
Questionhey guys check this out Pin
abstarsss17-Jan-06 13:30
abstarsss17-Jan-06 13:30 
AnswerRe: hey guys check this out Pin
Christian Graus17-Jan-06 14:15
protectorChristian Graus17-Jan-06 14:15 
QuestionTripleDES encryption. Anyone want to help? Pin
jbergetun17-Jan-06 12:31
jbergetun17-Jan-06 12:31 
AnswerRe: TripleDES encryption. Anyone want to help? Pin
Colin Angus Mackay17-Jan-06 23:03
Colin Angus Mackay17-Jan-06 23:03 
GeneralRe: TripleDES encryption. Anyone want to help? Pin
jbergetun18-Jan-06 7:48
jbergetun18-Jan-06 7:48 
GeneralRe: TripleDES encryption. Anyone want to help? Pin
Colin Angus Mackay18-Jan-06 11:39
Colin Angus Mackay18-Jan-06 11:39 
GeneralRe: TripleDES encryption. Anyone want to help? Pin
jbergetun19-Jan-06 10:21
jbergetun19-Jan-06 10:21 

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.