Exemplo n.º 1
0
        public AgentController(AxAgentObjects.AxAgent agentHost, string character)
        {
            agentHost.Characters.Load(character, null);
            agentChar = agentHost.Characters[character];

            characterName = character;

            //You could put your own options in this menu, if desired.
            agentChar.AutoPopupMenu = false;

            //Set balloon style.
            agentChar.Balloon.Style = agentChar.Balloon.Style | BalloonOn;
            agentChar.Balloon.Style = agentChar.Balloon.Style | SizeToText;
            agentChar.Balloon.Style = agentChar.Balloon.Style | AutoHide;
        }