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