Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: Triggo function Pin
Dustin Metzgar30-May-06 5:06
Dustin Metzgar30-May-06 5:06 
GeneralRe: Triggo function Pin
Haizzster30-May-06 17:39
Haizzster30-May-06 17:39 
GeneralRe: Triggo function Pin
Dustin Metzgar31-May-06 2:50
Dustin Metzgar31-May-06 2:50 
AnswerRe: Triggo function Pin
Haizzster29-May-06 21:08
Haizzster29-May-06 21:08 
Questionhowto search *.jpgs in a website with c#? Pin
cmpeng3429-May-06 12:58
cmpeng3429-May-06 12:58 
AnswerRe: howto search *.jpgs in a website with c#? Pin
Ravi Bhavnani29-May-06 13:37
professionalRavi Bhavnani29-May-06 13:37 
AnswerRe: howto search *.jpgs in a website with c#? Pin
Nader Elshehabi29-May-06 13:37
Nader Elshehabi29-May-06 13:37 
AnswerRe: howto search *.jpgs in a website with c#? Pin
Eran Aharonovich9-Jul-06 7:43
Eran Aharonovich9-Jul-06 7:43 
QuestionParse to double question Pin
JelleM29-May-06 11:36
JelleM29-May-06 11:36 
AnswerRe: Parse to double question Pin
lmoelleb29-May-06 11:44
lmoelleb29-May-06 11:44 
GeneralRe: Parse to double question Pin
JelleM29-May-06 11:58
JelleM29-May-06 11:58 
GeneralRe: Parse to double question Pin
lmoelleb29-May-06 20:24
lmoelleb29-May-06 20:24 
AnswerRe: Parse to double question Pin
User 665829-May-06 11:48
User 665829-May-06 11:48 
GeneralRe: Parse to double question Pin
JelleM29-May-06 11:58
JelleM29-May-06 11:58 
GeneralRe: Parse to double question Pin
JelleM29-May-06 12:42
JelleM29-May-06 12:42 
AnswerRe: Parse to double question Pin
Nader Elshehabi29-May-06 13:44
Nader Elshehabi29-May-06 13:44 
QuestionC# Late-binding with Delphi Question Pin
Andrew_Thomas29-May-06 11:34
Andrew_Thomas29-May-06 11:34 
JokeRe: C# Late-binding with Delphi Question Pin
Andrew_Thomas29-May-06 11:45
Andrew_Thomas29-May-06 11:45 
GeneralRe: C# Late-binding with Delphi Question Pin
leppie29-May-06 17:15
leppie29-May-06 17:15 
QuestionCan you use the VS.NET Designer for a TabPage? Pin
StevenS_Dev29-May-06 9:51
StevenS_Dev29-May-06 9:51 
AnswerRe: Can you use the VS.NET Designer for a TabPage? Pin
Rei Miyasaka29-May-06 10:53
Rei Miyasaka29-May-06 10:53 
GeneralRe: Can you use the VS.NET Designer for a TabPage? [modified] Pin
StevenS_Dev30-May-06 17:05
StevenS_Dev30-May-06 17:05 
QuestionSetting where Forms should show Pin
Tehshort29-May-06 9:24
Tehshort29-May-06 9:24 
AnswerRe: Setting where Forms should show [modified] Pin
Rei Miyasaka29-May-06 10:37
Rei Miyasaka29-May-06 10:37 
QuestionAdd node to TreeList Pin
Dima Filipiuk29-May-06 9:24
Dima Filipiuk29-May-06 9:24 
If treelist have open node, and i add new node to treelist - new node not can have focus.Confused | :confused:
treelist.AllNodesCount = all nodes in treelist - 1 ???

But if all node is close, and i add new node - !!! my new node can have focus!!!
treelist.AllNodesCount = all nodes in treelist !

My code:

using DevExpress.XtraTreeList;
using DevExpress.XtraTreeList.Nodes;

namespace video
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void simpleButton1_Click(object sender, EventArgs e)
{
TLNode tln1 = new TLNode(1, treeList1.Nodes, "dfhdfhgdf", "234523");
treeList1.Nodes.Add(tln1);
treeList1.FocusedNode = tln1;
}

private void simpleButton2_Click(object sender, EventArgs e)
{
TLNode tln1 = new TLNode(1, treeList1.Nodes, "4567rtyu4567", "ertye3456ertye");
tln1.HasChildren = true;
TLNode tln_children = new TLNode(2, tln1.Nodes, "trtr3636yryr", "6868cncn2525");
tln1.Nodes.Add(tln_children);
treeList1.Nodes.Add(tln1);
}

}

public class TLNode: TreeListNode
{
string name;
string url;
public TLNode(int id, TreeListNodes owner, string name_, string url_) : base(id, owner)
{
name = name_;
url = url_;
}
public override void SetValue(object columnID, object val)
{
}

public override object GetValue(object columnID)
{
return "text";
}
}

}



How to do this problem?
Help me please.


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.