namespace sample { public partial class Form1 : Form { public AgentObjects.IAgentCtlCharacterEx Merlin; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { axAgent1.Characters.Load("Merlin", "Merlin.acs"); Merlin = axAgent1.Characters["Merlin"]; Merlin.Show(true); Merlin.Speak("Welcome Sir", ""); } private void button1_Click(object sender, EventArgs e) { //axAgent2.Characters.Load("Genie", "Genie.acs"); //Genie = axAgent1.Characters["Genie"]; //Genie.Show(true); Merlin.Speak("Welcome Sir", ""); Merlin.Show(false); Merlin.Speak(textBox1.Text, ""); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)