SHARE
TWEET

Untitled

a guest May 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.             }
RAW Paste Data
Want to get better at C#?
Learn to code C# in 2017
Top