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

            _queueVoiceDesign = queueVoiceDesign;

            this.ShowDialog(owner);

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

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

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

            _queueVoiceDesign = new QueueVoiceModuleDesign();

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