Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
Questioncan we force the GC to collect memory . Pin
prasadbuddhika15-Feb-09 18:54
prasadbuddhika15-Feb-09 18:54 
AnswerRe: can we force the GC to collect memory . Pin
Gonxh Aniket15-Feb-09 18:57
Gonxh Aniket15-Feb-09 18:57 
GeneralRe: can we force the GC to collect memory . Pin
prasadbuddhika15-Feb-09 19:06
prasadbuddhika15-Feb-09 19:06 
GeneralRe: can we force the GC to collect memory . Pin
Vikram A Punathambekar15-Feb-09 19:47
Vikram A Punathambekar15-Feb-09 19:47 
GeneralRe: can we force the GC to collect memory . Pin
Christian Graus15-Feb-09 19:58
protectorChristian Graus15-Feb-09 19:58 
GeneralRe: can we force the GC to collect memory . Pin
Wes Aday16-Feb-09 4:09
professionalWes Aday16-Feb-09 4:09 
GeneralRe: can we force the GC to collect memory . Pin
N a v a n e e t h15-Feb-09 20:58
N a v a n e e t h15-Feb-09 20:58 
QuestionTreeview document to save existing xml file... Pin
raj23136215-Feb-09 18:47
raj23136215-Feb-09 18:47 
hi all,


i am working in treeview control.i am reading a xml file and expanding , draging node to one place to another place.its working and showing in treeview control.
but i want to update my existing file when i am draging node..

help me..!!

here is my code:-

private void treeView1_DragDrop(object sender, DragEventArgs e)
{

TreeNode newNode;
if (e.Data.GetDataPresent("System.Windows.Forms.TreeNode", false))
{
Point pt;
TreeNode destinationNode;
pt = treeView1.PointToClient(new Point(e.X, e.Y));
destinationNode = treeView1.GetNodeAt(pt);
newNode = (TreeNode)e.Data.GetData("System.Windows.Forms.TreeNode");
if (!destinationNode.Equals(newNode))
{
//destinationNode.Nodes.Add(newNode.Clone());
destinationNode.Nodes.Add((TreeNode)newNode.Clone());
destinationNode.Expand();
//Remove original node
newNode.Remove();

}
}

}
QuestionHow save treeview xml document to xml document Pin
raj23136215-Feb-09 18:46
raj23136215-Feb-09 18:46 
QuestionHow to select parents nodes of a child node Pin
Gonxh Aniket15-Feb-09 17:56
Gonxh Aniket15-Feb-09 17:56 
QuestionTabs not refresh Pin
CodingLover15-Feb-09 16:15
CodingLover15-Feb-09 16:15 
AnswerRe: Tabs not refresh Pin
Luc Pattyn15-Feb-09 16:30
sitebuilderLuc Pattyn15-Feb-09 16:30 
GeneralRe: Tabs not refresh Pin
CodingLover15-Feb-09 16:56
CodingLover15-Feb-09 16:56 
AnswerRe: Tabs not refresh Pin
Luc Pattyn15-Feb-09 17:01
sitebuilderLuc Pattyn15-Feb-09 17:01 
NewsRe: Tabs not refresh Pin
CodingLover15-Feb-09 17:15
CodingLover15-Feb-09 17:15 
AnswerRe: Tabs not refresh Pin
Luc Pattyn15-Feb-09 17:28
sitebuilderLuc Pattyn15-Feb-09 17:28 
GeneralRe: Tabs not refresh Pin
CodingLover15-Feb-09 17:40
CodingLover15-Feb-09 17:40 
AnswerRe: Tabs not refresh Pin
Luc Pattyn16-Feb-09 0:02
sitebuilderLuc Pattyn16-Feb-09 0:02 
AnswerRe: Tabs not refresh Pin
Luc Pattyn15-Feb-09 17:12
sitebuilderLuc Pattyn15-Feb-09 17:12 
QuestionManaging application execution Pin
jimmov115-Feb-09 15:59
jimmov115-Feb-09 15:59 
AnswerRe: Managing application execution Pin
Luc Pattyn15-Feb-09 16:36
sitebuilderLuc Pattyn15-Feb-09 16:36 
QuestionConvert a string to Float (two numbers after the comma) Pin
abbd15-Feb-09 12:30
abbd15-Feb-09 12:30 
AnswerRe: Convert a string to Float (two numbers after the comma) [modified] Pin
Nico Patitz15-Feb-09 12:46
Nico Patitz15-Feb-09 12:46 
QuestionChild controls interaction in User Control. [modified] Pin
hdv21215-Feb-09 11:39
hdv21215-Feb-09 11:39 
AnswerRe: Child controls interaction in User Control. Pin
Nico Patitz15-Feb-09 12:16
Nico Patitz15-Feb-09 12:16 

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.