/// <summary>
        /// 改变产品类型
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void cmbProductType_SelectedIndexChanged(object sender, EventArgs e)
        {
            cmbDBOMVersion.DataSource = null;
            cmbDBOMVersion.Items.Clear();

            if (cmbProductType.Text.Trim().Length == 0)
            {
                return;
            }

            DataTable dtTemp = m_bomServer.GetBomBackUpBomEdtion(cmbProductType.Text.Trim());

            cmbDBOMVersion.ValueMember   = "设计BOM版本";
            cmbDBOMVersion.DisplayMember = "设计BOM版本";
            cmbDBOMVersion.DataSource    = dtTemp;
            cmbDBOMVersion.SelectedIndex = 0;
        }
        private void cmbEdition_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (cmbEdition.Text.Length == 0)
            {
                return;
            }

            DataTable tempTable = _serviceBOM.GetBomBackUpBomEdtion(cmbEdition.Text);

            if (tempTable != null && tempTable.Rows.Count > 0)
            {
                cmbDBOMVersion.ValueMember   = "设计BOM版本";
                cmbDBOMVersion.DisplayMember = "设计BOM版本";
                cmbDBOMVersion.DataSource    = tempTable;
                cmbDBOMVersion.SelectedIndex = 0;
            }
            else
            {
                cmbDBOMVersion.DataSource    = null;
                cmbDBOMVersion.SelectedIndex = -1;
            }
        }