示例#1
0
文件: IMTabWindow.cs 项目: SObS/SLeek
        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);
        }
示例#2
0
文件: IMTabWindow.cs 项目: SObS/SLeek
 public void CleanUp()
 {
     textManager.CleanUp();
     textManager = null;
 }