Advertisement
Guest User

Untitled

a guest
May 19th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1.         void btnRefresh_Click(object sender, RoutedEventArgs e)
  2.         {
  3.             try
  4.             {
  5.                 foreach (TableView refresh in m_GameTables.Children)
  6.                 {
  7.                     Room myRoom = refresh.getRoom;
  8.                     String[] serverArgs = myRoom.IPAddress.Split(':');
  9.                     this.Dispatcher.Invoke(DispatcherPriority.Normal, (System.Action)(() =>
  10.                     {
  11.                         refresh.UpdateServer(serverArgs);
  12.                     }));
  13.                 }
  14.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement