Example #1
0
        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;
        }
Example #2
0
        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;
        }
Example #3
0
 public IRCClientConsole(IRCSettings settings)
 {
     Init(settings);
 }
Example #4
0
File: IRC.cs Project: Jaex/IRCLib
 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
     };
 }
Example #5
0
File: IRC.cs Project: Jaex/IRCLib
 public IRC(IRCSettings settings)
 {
     Settings = settings;
 }
Example #6
0
File: IRC.cs Project: Jaex/IRCLib
 public IRC()
 {
     Settings = new IRCSettings();
 }