Пример #1
0
 private void Service_LostServer(object sender, FoundServerEventArgs e)
 {
     if (ServerDisconnected != null && ClientDisconnected != null)
     {
         if (e.Accessable)
             ServerDisconnected(this, new FoundServerEventArgs { Ip = e.Ip });
         else
             ClientDisconnected(this, new FoundServerEventArgs { Ip = e.Ip });
     }
 }
Пример #2
0
 private void Service_FoundServer(object sender, FoundServerEventArgs e)
 {
     Pair(e.Ip);
 }