Inheritance: IrcShark.Extensions.Extension
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);
 }
Beispiel #2
0
 public MainForm(IrcCloneSharkExtension ext)
 {
     InitializeComponent();
     ExtensionValue = ext;
     ConnectionsValue =  new GUIIrcConnectionList(ext);
 }