public TemplateItemDialog() { InitializeComponent(); this.comboBoxPointClass.DataSource = Enum.GetValues(typeof(PointClass)); }