Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
Generalapply control panel settings Pin
Pyro Joe11-Aug-05 15:05
Pyro Joe11-Aug-05 15:05 
GeneralRe: apply control panel settings Pin
Mohamad Al Husseiny11-Aug-05 15:22
Mohamad Al Husseiny11-Aug-05 15:22 
GeneralRe: apply control panel settings Pin
Pyro Joe11-Aug-05 15:46
Pyro Joe11-Aug-05 15:46 
GeneralMyDocument Special Folder Pin
monrobot1311-Aug-05 14:21
monrobot1311-Aug-05 14:21 
GeneralRe: MyDocument Special Folder Pin
Christian Graus11-Aug-05 14:33
protectorChristian Graus11-Aug-05 14:33 
GeneralRe: MyDocument Special Folder Pin
Mohamad Al Husseiny11-Aug-05 14:44
Mohamad Al Husseiny11-Aug-05 14:44 
GeneralRe: MyDocument Special Folder Pin
monrobot1311-Aug-05 15:13
monrobot1311-Aug-05 15:13 
GeneralStrage problem on AfterLabelEdit event of treeview Pin
Dan Shi11-Aug-05 14:00
sussDan Shi11-Aug-05 14:00 
hi, I was working on a treeview, and tried to handle the AfterLabelEdit event. Basically, what I want to do is, user need to change the text of a treenode once it's created. If the user doesnt change the text, a warning message is popup and the treenode get the focuse after user response to the warning message. My problem is, the warning message always popup twice!

Following is some of the code to handle AfterLabelEdit event,

private void tvInterface_AfterLabelEdit(object sender, System.Windows.Forms.NodeLabelEditEventArgs e)
{
if(e.Label != null)
{
//...
}
else
{
e.CancelEdit = true;
MessageBox.Show("Enter sth");
e.Node.BeginEdit();
}
}

Please help thanks!
GeneralRe: Strage problem on AfterLabelEdit event of treeview Pin
Mohamad Al Husseiny11-Aug-05 15:23
Mohamad Al Husseiny11-Aug-05 15:23 
GeneralRe: Strage problem on AfterLabelEdit event of treeview Pin
Dan Shi12-Aug-05 13:43
sussDan Shi12-Aug-05 13:43 
Generalmakefile and resources Pin
dirkhelmet11-Aug-05 13:52
dirkhelmet11-Aug-05 13:52 
Generalagain way to use flash inside c# application Pin
malak nour11-Aug-05 13:43
malak nour11-Aug-05 13:43 
GeneralRe: again way to use flash inside c# application Pin
Mohamad Al Husseiny11-Aug-05 14:09
Mohamad Al Husseiny11-Aug-05 14:09 
GeneralRe: again way to use flash inside c# application Pin
Mohamad Al Husseiny11-Aug-05 14:13
Mohamad Al Husseiny11-Aug-05 14:13 
GeneralAxis Pin
Anonymous11-Aug-05 13:41
Anonymous11-Aug-05 13:41 
GeneralRe: Axis Pin
Christian Graus11-Aug-05 14:34
protectorChristian Graus11-Aug-05 14:34 
GeneralRemoting question Pin
machocr11-Aug-05 13:18
machocr11-Aug-05 13:18 
GeneralRe: Remoting question Pin
Mohamad Al Husseiny11-Aug-05 13:32
Mohamad Al Husseiny11-Aug-05 13:32 
GeneralRe: Remoting question Pin
machocr11-Aug-05 13:43
machocr11-Aug-05 13:43 
GeneralRe: Remoting question Pin
Mohamad Al Husseiny11-Aug-05 14:01
Mohamad Al Husseiny11-Aug-05 14:01 
GeneralRe: Remoting question Pin
machocr12-Aug-05 6:09
machocr12-Aug-05 6:09 
QuestionWhich treenode when double clicked? Pin
bouli11-Aug-05 11:26
bouli11-Aug-05 11:26 
AnswerRe: Which treenode when double clicked? Pin
Mohamad Al Husseiny11-Aug-05 12:23
Mohamad Al Husseiny11-Aug-05 12:23 
GeneralRe: Which treenode when double clicked? Pin
bouli11-Aug-05 12:27
bouli11-Aug-05 12:27 
GeneralRe: Which treenode when double clicked? Pin
Luis Alonso Ramos11-Aug-05 14:38
Luis Alonso Ramos11-Aug-05 14:38 

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.