public IMTabWindow(RadegastInstance instance, UUID target, UUID session, string toName)
{
InitializeComponent();
Disposed += new EventHandler(IMTabWindow_Disposed);
this.instance = instance;
this.target = target;
this.session = session;
this.toName = toName;
textManager = new IMTextManager(this.instance, new RichTextBoxPrinter(rtbIMText), IMTextManagerType.Agent, this.session, toName);
AddNetcomEvents();
Radegast.GUI.GuiHelpers.ApplyGuiFixes(this);
}