private void dgvMaterailListInit() { HYPDM.Entities.PDM_MATERAIL t = new PDM_MATERAIL(); this.dgv_MaterialList.DataSource = m_structService.GetMaterailList(t); }