/// <summary>
 /// 双击列表单元格事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gvSupplierList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex > -1 && e.ColumnIndex > -1)//双击表头或列头时不起作用
     {
         string         suppId         = Convert.ToString(this.dgvSupplierList.CurrentRow.Cells[suppID.Name].Value.ToString());
         UCSupplierView UCSupplierView = new UCSupplierView(suppId, this);
         base.addUserControl(UCSupplierView, "供应商档案-查看", "UCSupplierView" + suppId + "", this.Tag.ToString(), this.Name);
     }
 }
 /// <summary>
 /// 双击列表单元格事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gvSupplierList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex > -1 && e.ColumnIndex > -1)//双击表头或列头时不起作用   
     {
         string suppId = Convert.ToString(this.dgvSupplierList.CurrentRow.Cells[suppID.Name].Value.ToString());
         UCSupplierView UCSupplierView = new UCSupplierView(suppId, this);
         base.addUserControl(UCSupplierView, "供应商档案-查看", "UCSupplierView" + suppId + "", this.Tag.ToString(), this.Name);
     }
 }