public bool ShowQueueCallDesign(QueueVoiceModuleDesign queueVoiceDesign, IWin32Window owner)
        {
            _isOk = false;

            _queueVoiceDesign = queueVoiceDesign;

            this.ShowDialog(owner);

            return(_isOk);
        }
Exemple #2
0
        protected override void ReloadCustomDesign(string customContext)
        {
            if (string.IsNullOrEmpty(customContext))
            {
                return;
            }

            _queueVoiceDesign = JsonHelper.DeserializeObject <QueueVoiceModuleDesign>(customContext);

            LoadDesign();
        }
Exemple #3
0
        public QueueVoiceControl()
        {
            InitializeComponent();

            _queueVoiceDesign = new QueueVoiceModuleDesign();

            _queueVoiceDesign.PlayCount     = 2;
            _queueVoiceDesign.PlayRate      = 0;
            _queueVoiceDesign.Interval      = 5;
            _queueVoiceDesign.PlayHintSound = true;
        }