public IMTabWindow(SleekInstance instance, LLUUID target, LLUUID session, string toName) { InitializeComponent(); this.instance = instance; netcom = this.instance.Netcom; this.target = target; this.session = session; this.toName = toName; textManager = new IMTextManager(this.instance, new RichTextBoxPrinter(rtbIMText), this.session); this.Disposed += new EventHandler(IMTabWindow_Disposed); ApplyConfig(this.instance.Config.CurrentConfig); this.instance.Config.ConfigApplied += new EventHandler<ConfigAppliedEventArgs>(Config_ConfigApplied); }
public void CleanUp() { textManager.CleanUp(); textManager = null; }