Ejemplo n.º 1
0
        private void Instance_OnUserJoinedChannel(string channelName, string userName, string ipAddress)
        {
            if (this.InvokeRequired)
            {
                // Necessary for thread-safety
                TripleStringCallback d = new TripleStringCallback(Instance_DoUserJoinedChannel);
                this.BeginInvoke(d, channelName, userName, ipAddress);
                return;
            }

            Instance_DoUserJoinedChannel(channelName, userName, ipAddress);
        }
Ejemplo n.º 2
0
        private void Instance_PrivmsgParsed(string channelName, string message, string sender)
        {
            if (this.InvokeRequired)
            {
                // Necessary for thread-safety
                TripleStringCallback d = new TripleStringCallback(Instance_DoPrivmsgParsed);
                this.BeginInvoke(d, channelName, message, sender);
                return;
            }

            Instance_DoPrivmsgParsed(channelName, message, sender);
        }
Ejemplo n.º 3
0
        private void Instance_OnChannelModesChanged(string sender, string channelName, string modeString)
        {
            if (this.InvokeRequired)
            {
                // Necessary for thread-safety
                TripleStringCallback d = new TripleStringCallback(Instance_DoChannelModesChanged);
                this.BeginInvoke(d, sender, channelName, modeString);
                return;
            }

            Instance_DoChannelModesChanged(sender, channelName, modeString);
        }