ыфвмьтфод
This commit is contained in:
parent
5c0fdc3ee1
commit
751030b247
@ -79,6 +79,7 @@ namespace TestView
|
|||||||
myTreeView.addItem(new Book("Ðîìàí", "Ãîãîëü Í.Â.", "̸ðòâûå äóøè"));
|
myTreeView.addItem(new Book("Ðîìàí", "Ãîãîëü Í.Â.", "̸ðòâûå äóøè"));
|
||||||
myTreeView.addItem(new Book("Ðîìàí", "Òóðãåíåâ È.Ñ.", "Îòöû è äåòè"));
|
myTreeView.addItem(new Book("Ðîìàí", "Òóðãåíåâ È.Ñ.", "Îòöû è äåòè"));
|
||||||
myTreeView.addItem(new Book("Ôàíòàñòèêà", "Äæîðäæ Îðóýëë", "1984"));
|
myTreeView.addItem(new Book("Ôàíòàñòèêà", "Äæîðäæ Îðóýëë", "1984"));
|
||||||
|
myTreeView.addItem(new Book("Ôàíòàñòèêà", "Ðîóëèíã", "Ãàððè Ïîòòåð"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void buttonGetValue_Click(object sender, EventArgs e)
|
private void buttonGetValue_Click(object sender, EventArgs e)
|
||||||
@ -95,7 +96,7 @@ namespace TestView
|
|||||||
|
|
||||||
private void buttonSetIndex_Click(object sender, EventArgs e)
|
private void buttonSetIndex_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
myTreeView.SelectedNodeIndex = 0;
|
myTreeView.SelectedNodeIndex = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Form1_Load(object sender, EventArgs e)
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user