private void cbxQueueNames_SelectedIndexChanged(object sender, EventArgs e)
        {
            try
            {
                if (DoActions(QueueQuickEventDefine.ChangeQueueBefore, sender) == false)
                {
                    return;
                }

                BindQueueCall();

                DoActions(QueueQuickEventDefine.ChangeQueueBefore, sender);

                if (_qqc == null)
                {
                    _qqc = QueueQuickConfig.GetConfig(_moduleName);

                    _qqc.DefaultQueueName = cbxQueueNames.Text;
                }

                QueueQuickConfig.SetConfig(_qqc, _moduleName);
            }
            catch (Exception ex)
            {
                MsgBox.ShowException(ex, this);
            }
        }
        public override void ModuleLoaded()
        {
            base.ModuleLoaded();

            if (cbxQueueNames.Items.Count <= 0)
            {
                return;
            }
            //读取上次选择的队列
            _qqc = QueueQuickConfig.GetConfig(_moduleName);

            if (string.IsNullOrEmpty(_qqc.DefaultQueueName) == false)
            {
                cbxQueueNames.Text = _qqc.DefaultQueueName;
            }
            else
            {
                cbxQueueNames.SelectedIndex = 0;
            }
        }