Exemple #1
0
 public IrcClient()
 {
     DataRecieved += new IrcDataEventHandler(IrcClient_DataRecieved);
     DataSent     += new IrcDataEventHandler(IrcClient_DataSent);
 }
Exemple #2
0
        private void ConfigureAddons()
        {
            foreach (string addonName in m_addOns.Keys)
            {
                IAddOn addOn = m_addOns[addonName];
                if (addOn.IsStarted)
                    continue;
                addOn.Init(this);

                if (addOn.IsService)
                     StartAddOn(addOn);

                if (addOn.SubscribeOnDataReceived)
                    ProcessedDataReceived += new IrcDataEventHandler(addOn.Client_ProcessedDataReceived);
            }
        }