/// <summary>
        /// 删除期货交易规则
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnDelete_Click(object sender, EventArgs e)
        {
            try
            {
                if (ShowMessageBox.ShowQuestion("确认删除交易规则吗?") == DialogResult.No)
                {
                    return;
                }

                DataRow _dr = this.gdvFuturesTradeRulesSelect.GetDataRow(this.gdvFuturesTradeRulesSelect.FocusedRowHandle);
                if (_dr == null)
                {
                    ShowMessageBox.ShowInformation("请选择数据!");
                    return;
                }

                if (!string.IsNullOrEmpty(Convert.ToString(_dr["BreedClassID"])))
                {
                    m_BreedClassID = Convert.ToInt32(_dr["BreedClassID"]);
                }
                else
                {
                    m_BreedClassID = AppGlobalVariable.INIT_INT;
                }

                if (!string.IsNullOrEmpty(Convert.ToString(_dr["LastTradingDayID"])))
                {
                    m_LastTradingDayID = Convert.ToInt32(_dr["LastTradingDayID"]);
                }
                else
                {
                    m_LastTradingDayID = AppGlobalVariable.INIT_INT;
                }

                if (!string.IsNullOrEmpty(Convert.ToString(_dr["ConsignQuantumID"])))
                {
                    m_ConsignQuantumID = Convert.ToInt32(_dr["ConsignQuantumID"]);
                }
                else
                {
                    m_ConsignQuantumID = AppGlobalVariable.INIT_INT;
                }
                if (m_BreedClassID != AppGlobalVariable.INIT_INT)
                {
                    m_Result = FuturesManageCommon.DeleteFuturesTradeRulesAboutAll(m_BreedClassID);
                }

                if (m_Result)
                {
                    ShowMessageBox.ShowInformation("删除成功!");
                    m_BreedClassID     = AppGlobalVariable.INIT_INT;
                    m_LastTradingDayID = AppGlobalVariable.INIT_INT;
                    m_ConsignQuantumID = AppGlobalVariable.INIT_INT;
                }
                else
                {
                    ShowMessageBox.ShowInformation("删除失败!");
                }
                this.QueryFuturesTradeRules();
            }
            catch (Exception ex)
            {
                string      errCode   = "GL-5824";
                string      errMsg    = "删除期货交易规则数据失败!";
                VTException exception = new VTException(errCode, errMsg, ex);
                LogHelper.WriteError(exception.ToString(), exception.InnerException);
                return;
            }
        }