private void selectStruct(selectType p_type) { if (p_type == selectType.Matieral) { selectMaterail(); } else if (p_type == selectType.Parts) { selectParts(); } else if (p_type == selectType.Product) { selectProduct(); } }