private void button3_Click(object sender, EventArgs e) { if (tabConsole.TabExists(fullName)) { tabConsole.SelectTab(fullName); return; } tabConsole.AddIMTab(agentID, client.Self.AgentID ^ agentID, fullName); tabConsole.SelectTab(fullName); tabConsole.Focus(); }
private void btnNewIM_Click(object sender, EventArgs e) { // V 0.9.1.6 change if (console.SelectedName == client.Self.Name) { return; } // end if (tabConsole.TabExists(console.SelectedName)) { tabConsole.SelectTab(console.SelectedName); return; } tabConsole.AddIMTab(console.SelectedAgentUUID, client.Self.AgentID ^ console.SelectedAgentUUID, console.SelectedName); tabConsole.SelectTab(console.SelectedName); }