ыфвмьтфод

This commit is contained in:
Артем Харламов 2023-10-06 02:50:26 +04:00
parent 5c0fdc3ee1
commit 751030b247

View File

@ -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)