private void SendGreeting(GreetingType type) { controler.SendGreeting(type); StartGreetingCD(); ShowGreetingRoot(false); }
private void Initialize() { InitializeComponent(); //if (this.managementClient == null) mnuCall.Visible = false; GreetingType = GreetingType.SoundGreeting; wzdGreeting.PageIndex = 0; speechControl.ShowSuggestTextButton = true; speechControl.ShowVoiceSelection = true; speechControl.TextChanged += new EventHandler(speechControl_TextChanged); }
public IGreetingService Create(GreetingType greetingType) { return(factory(greetingType)); }
public void LoadGreeting(WOSI.CallButler.Data.CallButlerDataset.LocalizedGreetingsRow greeting, string greetingSoundCache) { recordingControl.Reset(); speechControl.SpeechText = ""; greetingRow = greeting; if (greeting != null) { this.GreetingType = (WOSI.CallButler.Data.GreetingType)greetingRow.Type; if (this.GreetingType == GreetingType.TextGreeting) { speechControl.SpeechText = greetingRow.Data; speechControl.Voice = greetingRow.Voice; } else if (this.GreetingType == GreetingType.SoundGreeting) { recordingControl.LoadSoundFile(greetingSoundCache + "\\" + greetingRow.LanguageID + "\\" + greetingRow.GreetingID.ToString() + ".snd"); } } }
public Greetings(string firstName, string lastName, GreetingType greetingType, string emailString) { FirstName = firstName; LastName = lastName; Greeting = greetingType; }