Click here to Skip to main content
16,011,508 members
Home / Discussions / C#
   

C#

 
GeneralRe: Accessing folder from outlook express 2003 with C# 1.1 Pin
Het210928-Dec-07 9:05
Het210928-Dec-07 9:05 
GeneralRe: Accessing folder from outlook express 2003 with C# 1.1 Pin
KaptinKrunch28-Dec-07 9:15
KaptinKrunch28-Dec-07 9:15 
GeneralRe: Accessing folder from outlook express 2003 with C# 1.1 Pin
Het210928-Dec-07 9:28
Het210928-Dec-07 9:28 
GeneralRe: Accessing folder from outlook express 2003 with C# 1.1 Pin
KaptinKrunch28-Dec-07 9:38
KaptinKrunch28-Dec-07 9:38 
GeneralRe: Accessing folder from outlook express 2003 with C# 1.1 Pin
Het210928-Dec-07 9:41
Het210928-Dec-07 9:41 
GeneralRe: Accessing folder from outlook express 2003 with C# 1.1 Pin
KaptinKrunch28-Dec-07 10:07
KaptinKrunch28-Dec-07 10:07 
GeneralRe: Accessing folder from outlook express 2003 with C# 1.1 Pin
Het210928-Dec-07 10:31
Het210928-Dec-07 10:31 
GeneralCheckbox should delete any childnode but not the root node. Can someone please help?? [modified] Pin
T4AMD28-Dec-07 8:18
T4AMD28-Dec-07 8:18 
I am trying to create a method where if a user clicks on the checkbox of a treeview node it deletes it only if it is a childnode but does not delete it if it is a rootfolder. This is how I started. If anybody can give me a clue and show me how to make it work? Thanks.

private bool CheckBox(TreeNode tn)
{

if (tvFavorites.SelectedNode.Checked == true)
{
//tn.Nodes.Remove();
tvFavorites.SelectedNode.Remove();
}
else
{
return CheckBox(false); and here I get an error that "Best overloaded method: invalid argument.
}

}

modified on Friday, December 28, 2007 2:36:51 PM

GeneralRe: Checkbox should delete any childnode but not the root node. Can someone please help?? Pin
KaptinKrunch28-Dec-07 8:36
KaptinKrunch28-Dec-07 8:36 
GeneralRe: Checkbox should delete any childnode but not the root node. Can someone please help?? Pin
T4AMD28-Dec-07 8:54
T4AMD28-Dec-07 8:54 
GeneralRe: Checkbox should delete any childnode but not the root node. Can someone please help?? Pin
KaptinKrunch28-Dec-07 9:01
KaptinKrunch28-Dec-07 9:01 
GeneralRe: Checkbox should delete any childnode but not the root node. Can someone please help?? Pin
T4AMD28-Dec-07 9:09
T4AMD28-Dec-07 9:09 
GeneralRe: Checkbox should delete any childnode but not the root node. Can someone please help?? Pin
KaptinKrunch28-Dec-07 9:21
KaptinKrunch28-Dec-07 9:21 
GeneralRe: Checkbox should delete any childnode but not the root node. Can someone please help?? Pin
T4AMD28-Dec-07 10:21
T4AMD28-Dec-07 10:21 
GeneralRe: Checkbox should delete any childnode but not the root node. Can someone please help?? Pin
KaptinKrunch28-Dec-07 10:50
KaptinKrunch28-Dec-07 10:50 
QuestionC#, WPF, XmlDataProvider, and binding to an XML file. Pin
Lily Bristol28-Dec-07 7:06
Lily Bristol28-Dec-07 7:06 
GeneralRe: C#, WPF, XmlDataProvider, and binding to an XML file. Pin
KaptinKrunch28-Dec-07 8:32
KaptinKrunch28-Dec-07 8:32 
GeneralRe: C#, WPF, XmlDataProvider, and binding to an XML file. Pin
Lily Bristol2-Jan-08 7:55
Lily Bristol2-Jan-08 7:55 
GeneralA password problem Pin
Strategic_Thinker28-Dec-07 6:58
Strategic_Thinker28-Dec-07 6:58 
GeneralRe: A password problem Pin
Ed.Poore28-Dec-07 7:07
Ed.Poore28-Dec-07 7:07 
GeneralRe: A password problem Pin
Strategic_Thinker29-Dec-07 2:21
Strategic_Thinker29-Dec-07 2:21 
GeneralRe: A password problem Pin
Ed.Poore29-Dec-07 8:00
Ed.Poore29-Dec-07 8:00 
GeneralRe: A password problem Pin
CPallini28-Dec-07 7:27
mveCPallini28-Dec-07 7:27 
GeneralRe: A password problem Pin
Not Active28-Dec-07 7:30
mentorNot Active28-Dec-07 7:30 
GeneralC# Code Editor - recommendations [modified] Pin
User of Users Group28-Dec-07 5:27
User of Users Group28-Dec-07 5:27 

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.