예제 #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;
        }
예제 #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;
        }