private void editAnnotationsButton_Click(object sender, EventArgs e)
 {
     using (EditAnnotations<EnumerationValueMapping> dialog = new EditAnnotations<EnumerationValueMapping>(this.EnumerationValueMapping))
     {
         dialog.ShowDialog();
     }
 }
 private void editAnnotationsButton_Click(object sender, EventArgs e)
 {
     using (EditAnnotations<API> dialog = new EditAnnotations<API>(_api))
     {
         dialog.ShowDialog();
     }
 }