public bool ShowQueueCallDesign(QueueVoiceModuleDesign queueVoiceDesign, IWin32Window owner) { _isOk = false; _queueVoiceDesign = queueVoiceDesign; this.ShowDialog(owner); return(_isOk); }
protected override void ReloadCustomDesign(string customContext) { if (string.IsNullOrEmpty(customContext)) { return; } _queueVoiceDesign = JsonHelper.DeserializeObject <QueueVoiceModuleDesign>(customContext); LoadDesign(); }
public QueueVoiceControl() { InitializeComponent(); _queueVoiceDesign = new QueueVoiceModuleDesign(); _queueVoiceDesign.PlayCount = 2; _queueVoiceDesign.PlayRate = 0; _queueVoiceDesign.Interval = 5; _queueVoiceDesign.PlayHintSound = true; }