I am writing a library to assist with creation of an IRC bot.
One of the classes I am using is a Listener (fromhttp://thresher.sourceforge.net), which listens to the IRCconnection and raises events when messages are recieved.
I would like to create a new class in my library, ListenerWindow,which can have a Listener passed to it, and will display a formwhich displays the text of messages as they arrive. Rather thanderive this class from a Form, I think I would rather have anInternal Form class and have the ListenerWindow call thisinternally. It has also been suggested that ListenerWindowshould derive from Component or even CommonDialog but I don'tknow if this is really suitable or not.
Can anyone comment on the above architecture and suggest what thebest design would be?
Many thanks,
--------------------------------
From: Adam Ralph
-----------------------
Posted by a user from .NET 247 (
http://www.dotnet247.com/)
<Id>8I4Zp+Yo7E6YBDLluyth6w==</Id>