private void Delete(List <Brand> list, Brand item)
        {
            if (GlobalMessageBox.Show("是否确认操作?", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
            {
                return;
            }

            if (GlobalUtil.EngineUnconnectioned(this))
            {
                return;
            }
            this.dataGridView1.DataSource = null;
            InteractResult result = GlobalCache.Brand_OnRemove(item.AutoID);

            switch (result.ExeResult)
            {
            case ExeResult.Error:
                GlobalMessageBox.Show(result.Msg);
                break;

            default:
                this.dataGridView1.DataSource = null;
                list.Remove(item);
                this.dataGridView1.DataSource = DataGridViewUtil.ListToBindingList(list);
                break;
            }
            this.dataGridView1.DataSource = DataGridViewUtil.ListToBindingList(list);
        }