public void Init(IRCSettings settings) { Settings = settings; IRC = new IRC(Settings); IRC.Output += IRC_Output; IRC.ErrorOutput += IRC_ErrorOutput; IRC.UserJoined += IRC_UserJoined; IRC.Disconnected += IRC_Disconnected; }
public IRCClientForm(IRCSettings settings) { InitializeComponent(); rtbOutput.AddContextMenu(); tsmiColors.HideImageMargin(); tabManager = new TabManager(tcMessages); Settings = settings; pgSettings.SelectedObject = Settings; IRC = new IRC(Settings); IRC.Disconnected += IRC_Disconnected; IRC.Output += IRC_Output; IRC.ErrorOutput += IRC_ErrorOutput; IRC.Message += IRC_Message; IRC.UserJoined += IRC_UserJoined; }
public IRCClientConsole(IRCSettings settings) { Init(settings); }
public IRC(string server, int port, string nickname, string username, string realname, bool invisible) { Settings = new IRCSettings() { Server = server, Port = port, Nickname = nickname, Username = username, Realname = realname, Invisible = invisible }; }
public IRC(IRCSettings settings) { Settings = settings; }
public IRC() { Settings = new IRCSettings(); }