Exemplo n.º 1
0
 private void Irc_JoinedChannel(object sender, IrcChannelEventArgs e)
 {
     if (EnableConsoleLogging)
     {
         Console.WriteLine("Joined channel");
     }
     e.Channel.MessageReceived += Irc_ChannelMessageReceived;
     ConnectComplete?.Invoke(this, new EventArgs());
 }
 /// <summary>
 /// Dispatches the ConnectComplete event if any targets have registered.
 /// </summary>
 /// <param name="e">A ConnectEventArgs object with information about the remote framebuffer's geometry.</param>
 /// <exception cref="System.InvalidOperationException">Thrown if the RemoteDesktop control is not in the Connected state.</exception>
 private void OnConnectComplete(ConnectEventArgs e)
 {
     ConnectComplete?.Invoke(this, e);
 }