Click here to Skip to main content
15,925,400 members
Home / Discussions / C#
   

C#

 
GeneralRe: changing mac address Pin
kralece4-Feb-09 23:44
kralece4-Feb-09 23:44 
Questionstring tokenize Pin
lawrenceinba3-Feb-09 20:01
lawrenceinba3-Feb-09 20:01 
AnswerRe: string tokenize Pin
Vikram A Punathambekar3-Feb-09 21:17
Vikram A Punathambekar3-Feb-09 21:17 
AnswerRe: string tokenize Pin
S.Dhanasekaran4-Feb-09 3:24
S.Dhanasekaran4-Feb-09 3:24 
QuestionRead CLI number Pin
M Riaz Bashir3-Feb-09 19:58
M Riaz Bashir3-Feb-09 19:58 
Questionsend and receive Bluetooth Pin
mrMattar3-Feb-09 19:46
mrMattar3-Feb-09 19:46 
AnswerRe: send and receive Bluetooth Pin
Christian Graus3-Feb-09 19:58
protectorChristian Graus3-Feb-09 19:58 
AnswerRe: send and receive Bluetooth Pin
Giorgi Dalakishvili3-Feb-09 20:19
mentorGiorgi Dalakishvili3-Feb-09 20:19 
QuestionDataGridView Pin
CodingYoshi3-Feb-09 18:32
CodingYoshi3-Feb-09 18:32 
AnswerRe: DataGridView Pin
Christian Graus3-Feb-09 19:23
protectorChristian Graus3-Feb-09 19:23 
GeneralRe: DataGridView Pin
CodingYoshi3-Feb-09 21:17
CodingYoshi3-Feb-09 21:17 
GeneralRe: DataGridView Pin
MadArtSoft3-Feb-09 23:49
MadArtSoft3-Feb-09 23:49 
QuestionHow to naming a namespace in custom project? Pin
calendarw3-Feb-09 18:24
calendarw3-Feb-09 18:24 
AnswerRe: How to naming a namespace in custom project? Pin
Christian Graus3-Feb-09 19:17
protectorChristian Graus3-Feb-09 19:17 
GeneralRe: How to naming a namespace in custom project? Pin
calendarw3-Feb-09 20:00
calendarw3-Feb-09 20:00 
QuestionProblem in accessing C# dll in VC 6.0 project Pin
raesa3-Feb-09 18:14
raesa3-Feb-09 18:14 
AnswerRe: Problem in accessing C# dll in VC 6.0 project Pin
Christian Graus3-Feb-09 19:19
protectorChristian Graus3-Feb-09 19:19 
GeneralRe: Problem in accessing C# dll in VC 6.0 project Pin
raesa3-Feb-09 21:25
raesa3-Feb-09 21:25 
Question### Problem with referenced assembly ? [modified] Pin
bug_aonz3-Feb-09 17:55
bug_aonz3-Feb-09 17:55 
AnswerRe: ### Problem with referenced assembly ? Pin
Rob Philpott3-Feb-09 23:50
Rob Philpott3-Feb-09 23:50 
QuestionCalling Child Form through MDI form Pin
sjs4u3-Feb-09 17:52
sjs4u3-Feb-09 17:52 
AnswerRe: Calling Child Form through MDI form Pin
Dave Kreskowiak3-Feb-09 18:25
mveDave Kreskowiak3-Feb-09 18:25 
Questionhow to maintain the same order in a treeview control where the nodes comes from other treeview. [modified] Pin
Gonxh Aniket3-Feb-09 17:41
Gonxh Aniket3-Feb-09 17:41 
AnswerRe: how to maintain the same order in a treeview control where the nodes comes from other treeview. Pin
MartyExodus3-Feb-09 19:18
MartyExodus3-Feb-09 19:18 
Well, a horribly inefficient, but likewise easy method would be to use a BubbleSort, referring back to original TreeNode.

bool done = false;
int length = trvw2.Nodes.Count;

while(!done)
{
    done = true;
    for(int i = 1; i<length;>    {
        if(trvw1.Nodes.IndexOf(trvw2.Nodes[i])<trvw1.Nodes.IndexOf(trvw2.Nodes[i-1]))
        {
            done = false;
            //INSERT NODE SWAP CODE
        }
    }
}  


I would include the "NODE SWAP CODE," but I'm not anywhere that I can check syntax, so yeah.


Sorry if it doesn't work or if there are small errors - I'm working entirely off of memory.


EDIT: Fixed typos.

There is no knowledge that is not power. - Mortal Kombat

QuestionAudio Input Class? Pin
MartyExodus3-Feb-09 17:03
MartyExodus3-Feb-09 17:03 

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.