private void setTypeBlock(BlockPlanTypeEnum type) { _planType = type; if (type == BlockPlanTypeEnum.Mounting) { _planTypeName = BLOCKMOUNTING; _prefixBlockName = Settings.Default.BlockPlaneMountingPrefixName; } else { _planTypeName = BLOCKARCHITECT; _prefixBlockName = Settings.Default.BlockPlaneArchitectPrefixName; } }