コード例 #1
0
 private static void ctcpClient2_PingResponseReceived(object sender, CtcpPingResponseReceivedEventArgs e)
 {
     if (ctcpClient2PingResponseReceivedEvent != null)
         ctcpClient2PingResponseReceivedEvent.Set();
 }
コード例 #2
0
        private static void ctcpClient1_PingResponseReceived(object sender, CtcpPingResponseReceivedEventArgs e)
        {
            if (e.User.NickName == ircClient2.LocalUser.NickName)
                client2PingTime = e.PingTime;

            if (ctcpClient1PingResponseReceivedEvent != null)
                ctcpClient1PingResponseReceivedEvent.Set();
        }