Example #1
0
        public IRCClientForm(IRCInfo info)
        {
            InitializeComponent();
            Icon = ShareXResources.Icon;
            ((ToolStripDropDownMenu)tsmiColors.DropDown).ShowImageMargin = false;

            Info = info;
            pgSettings.SelectedObject = Info;

            IRC = new IRC(Info);
            IRC.Disconnected += IRC_Disconnected;
            IRC.Output += IRC_Output;
            IRC.Message += IRC_Message;
            IRC.UserJoined += IRC_UserJoined;
        }
Example #2
0
        public IRCClientForm(IRCInfo info)
        {
            InitializeComponent();
            rtbOutput.AddContextMenu();
            tsmiColors.HideImageMargin();

            tabManager = new TabManager(tcMessages);

            Info = info;
            pgSettings.SelectedObject = Info;

            IRC = new IRC(Info);
            IRC.Disconnected += IRC_Disconnected;
            IRC.Output += IRC_Output;
            IRC.ErrorOutput += IRC_ErrorOutput;
            IRC.Message += IRC_Message;
            IRC.UserJoined += IRC_UserJoined;
        }