c# - about refresh UI ! -


I have a form that has a tab contrast with 3 tabs. How can I refresh only one tab page in a form with a background worker thread and not refresh the other tabs?

Here's how to update the specific tab page in a tab tab:

  Personal Representative Zero RefreshTabPageDelegate (Int tabpage); Public Static Zero RefreshTabPageThreadSafe (Internet Tabpage) {if (TabControl.InvokerAir) {tabControl.Invoke (New RefreshTabPage Delegate (RefreshTabPaththread), New Object [] {Tab Page}); } Else {if (tabControl.TabPages.Count> tab page) {tabControl.TabPages [tabPage] Refresh (); }}}  

Call it like this:

  // // thread-safe equivalent // tab control. Tap page [1]. Refresh (); RefreshTabPageThreadSafe (1);  

Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -