Radegast.IMTabWindow.IMTabWindow C# (CSharp) Method

IMTabWindow() public method

public IMTabWindow ( Radegast.RadegastInstance instance, UUID target, UUID session, string toName ) : System
instance Radegast.RadegastInstance
target UUID
session UUID
toName string
return System
        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);
        }