Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: merge two pdf Pin
abbd5-Mar-09 1:31
abbd5-Mar-09 1:31 
GeneralRe: merge two pdf Pin
Christian Graus5-Mar-09 8:17
protectorChristian Graus5-Mar-09 8:17 
QuestionRandom Permutation Pin
rohan40404-Mar-09 23:50
rohan40404-Mar-09 23:50 
RantRe: Random Permutation PinPopular
Smithers-Jones5-Mar-09 1:33
Smithers-Jones5-Mar-09 1:33 
JokeRe: Random Permutation Pin
Zhat5-Mar-09 2:05
Zhat5-Mar-09 2:05 
GeneralRe: Random Permutation Pin
Smithers-Jones5-Mar-09 2:32
Smithers-Jones5-Mar-09 2:32 
JokeRe: Random Permutation Pin
Curtis Schlak.5-Mar-09 10:02
Curtis Schlak.5-Mar-09 10:02 
QuestionHow to use a class for xml related logic taking xml file "uri" as initializer. Pin
rasingh14-Mar-09 23:31
rasingh14-Mar-09 23:31 
Hi ,
i have a project in which i created two classes TreeDisplay(Form.cs) and MytreeNode class in same namespace.
TreeDisplay class contains all the GUI related stuff like Browse button textbox,label,progress bar and TReeView. I want the user to select a XML file through browse button which will be displayed in textbox.The Xml file selected will be displayed in Treeview on winform.
Now i want to separate the GUI part from business logic(where i am creating treenode and adding nodes to tree) thats why i created the MytreeNode class. I am passing the treeview and the string filename from the FileOpenDialogue in Browse button.
i want to pass a Xml file name from one class to another class in same namespace using URI.i want to initialize with file path. i have passed the treeview object from GUI to my backhand class MytreeNode class.
But how to initialize with fie path? here is a part of code.
public class MytreeNodeClass
    {
        internal void initiatingTree(string nameofFile,TreeView treeView1)
        {
            try
            {
                XmlDocument xmlDocument = new XmlDocument();
                xmlDocument.Load(nameofFile);
                treeView1.Nodes.Clear();
                if (xmlDocument.DocumentElement != null)
                    if (true) treeView1.Nodes.Add(new TreeNode(xmlDocument.DocumentElement.Name));

Help me in putting up the right part of code at right place.Confused | :confused:
Thanks Smile | :)
QuestionHow to extract the text from PDF file which was opened in IE? Pin
svt gdwl4-Mar-09 23:30
svt gdwl4-Mar-09 23:30 
AnswerRe: How to extract the text from PDF file which was opened in IE? Pin
Mirko19805-Mar-09 0:00
Mirko19805-Mar-09 0:00 
AnswerRe: How to extract the text from PDF file which was opened in IE? Pin
Mladen Janković5-Mar-09 3:38
Mladen Janković5-Mar-09 3:38 
QuestionMove the selected row to one row up and make it selected Pin
Anu Palavila4-Mar-09 23:28
Anu Palavila4-Mar-09 23:28 
AnswerRe: Move the selected row to one row up and make it selected Pin
WvdW5-Mar-09 1:36
WvdW5-Mar-09 1:36 
GeneralRe: Move the selected row to one row up and make it selected Pin
Anu Palavila6-Mar-09 19:55
Anu Palavila6-Mar-09 19:55 
Questionabout the drag & operations in paint application Pin
Nilam Dalvi4-Mar-09 23:11
Nilam Dalvi4-Mar-09 23:11 
AnswerRe: about the drag & operations in paint application Pin
Shyam K Pananghat4-Mar-09 23:19
Shyam K Pananghat4-Mar-09 23:19 
JokeRe: about the drag & operations in paint application [modified] Pin
musefan4-Mar-09 23:21
musefan4-Mar-09 23:21 
JokeRe: about the drag & operations in paint application Pin
Xmen Real 5-Mar-09 0:11
professional Xmen Real 5-Mar-09 0:11 
JokeRe: about the drag & operations in paint application Pin
ABitSmart5-Mar-09 3:26
ABitSmart5-Mar-09 3:26 
Questionabout the drawareatool in c# Pin
Nilam Dalvi4-Mar-09 23:09
Nilam Dalvi4-Mar-09 23:09 
AnswerRe: about the drawareatool in c# PinPopular
ABitSmart4-Mar-09 23:48
ABitSmart4-Mar-09 23:48 
AnswerRe: about the drawareatool in c# Pin
Smithers-Jones5-Mar-09 1:34
Smithers-Jones5-Mar-09 1:34 
JokeRe: about the drawareatool in c# Pin
Xmen Real 5-Mar-09 3:03
professional Xmen Real 5-Mar-09 3:03 
AnswerRe: about the drawareatool in c# Pin
Christian Graus5-Mar-09 8:18
protectorChristian Graus5-Mar-09 8:18 
Questionhow we drag & drop of actor in usecase diagram is there is any inbuilt function or please give mre that code Pin
Kanchan Pawar4-Mar-09 23:09
Kanchan Pawar4-Mar-09 23:09 

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.