Situation: I put a DataGridView on the form, add a DataTable and start the column editor. By default, most columns are created as TextBoxColumn and are named in this way. If the table contains a field "refID" as reference to another table by ForeignKey, the column is registered in the Designer.cs as follows:
private System.Windows.Forms.DataGridViewTextBoxColumnrefIDDataGridViewTextBoxColumn;
Now I reopen the column editor and change the ColumnType to ComboBoxColumn and register the added items (esp. DisplayMember and ValueMember). After closing the column editor, the column is registered in the Designer.cs as follows:
private System.Windows.Forms.DataGridViewComboBoxColumnrefIDDataGridViewTextBoxColumn;
Oops, each property is set to the ComboBox' conditions but the internal name isn't changed. That's no problem because everything works as desired. But it's very confusing if I look for a specific ComboBox in order to change a property by code.
Note: This hint maybe a supplement to my posts http://community.sharpdevelop.net/forums/t/22470.aspx (bug report) and http://community.sharpdevelop.net/forums/t/22471.aspx (feature request).
If the #D developers are in boredom, they could look for a solution of this minor problem. Juergen