Esempio n. 1
0
        public IMTabWindow AddIMTab(UUID target, UUID session, string targetName)
        {
            IMTabWindow imTab = new IMTabWindow(instance, target, session, targetName);

            RadegastTab tab = AddTab(session.ToString(), "IM: " + targetName, imTab);

            imTab.SelectIMInput();

            return(imTab);
        }
Esempio n. 2
0
        bool TryFindIMTab(UUID friendID, out IMTabWindow console)
        {
            console = null;
            string tabID = (client.Self.AgentID ^ friendID).ToString();

            if (instance.TabConsole.TabExists(tabID))
            {
                console = (IMTabWindow)instance.TabConsole.Tabs[tabID].Control;
                return(true);
            }
            return(false);
        }
Esempio n. 3
0
 bool TryFindIMTab(UUID friendID, out IMTabWindow console)
 {
     console = null;
     string tabID = (client.Self.AgentID ^ friendID).ToString();
     if (instance.TabConsole.TabExists(tabID))
     {
         console = (IMTabWindow)instance.TabConsole.Tabs[tabID].Control;
         return true;
     }
     return false;
 }
Esempio n. 4
0
        public IMTabWindow AddIMTab(UUID target, UUID session, string targetName)
        {
            IMTabWindow imTab = new IMTabWindow(instance, target, session, targetName);

            RadegastTab tab = AddTab(session.ToString(), "IM: " + targetName, imTab);
            imTab.SelectIMInput();

            return imTab;
        }