D
D
Deka0072019-05-27 11:23:35
C++ / C#
Deka007, 2019-05-27 11:23:35

How to execute an event on click on tab_page1?

When I click on tab_page1, the table should be filled in, I use the event:

private void tabPage1_Click(object sender, EventArgs e) 
{
 //здесь мой код для заполнения таблицы.
}

but nothing happens, no matter how many times you click, the event is not processed...
5ceb9e5cd980e186287007.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2019-05-27
@petermzg

The Click event is when you click on the body of the page control. And changing the active page through the SelectedIndexChanged of the tabControl itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question