Represents a full irc-connection with channel management and internal address list.
This class uses all classes of IrcSharp to manage an irc connection.
Inheritance: IrcClient
Beispiel #1
0
 public GUIIrcConnection(IrcCloneSharkExtension ext, IrcConnection baseCon)
 {
     ExtensionValue = ext;
     BaseConnectionValue = baseCon;
     StatusValue = new StatusWindow(this);
     SwitchStripValue = new WindowSwitchToolStrip(this);
     MainForm.SwitchBar.Controls.Add(SwitchStripValue);
     StatusValue.Show();
     ChannelWindowsValue = new Dictionary<String, ChannelWindow>();
     QueryWindowsValue = new QueryWindowList();
     BaseConnectionValue.Channels.Joined += new JoinedEventHandler(Channels_Joined);
     BaseConnectionValue.Channels.Parted += new PartedEventHandler(Channels_Parted);
     BaseConnectionValue.PrivateMessageReceived += new PrivateMessageReceivedEventHandler(Client_PrivateMessageReceived);
 }
 public ConnectionAddedEventArgs(IrcConnection con)
 {
     ConnectionValue = con;
 }
Beispiel #3
0
 private void NewConnectionMenuItem_Click(object sender, EventArgs e)
 {
     IrcConnection con = new IrcConnection();
     IrcShark.Connections.Add(con);
 }
 public ConnectionRemovedEventArgs(IrcConnection con)
 {
     ConnectionValue = con;
 }