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); }
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); }
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; }
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; }