private void LastColumnComboSelectionChanged( object sender, EventArgs e )
{
Point currentcell = dgPropertyInfo.CurrentCellAddress;
int r = currentcell.Y;
int c = currentcell.X;
if (r == 0 && c == 1)
{
var sendingCb = sender as DataGridViewComboBoxEditingControl;
var cell = (DataGridViewComboBoxCell) dgPropertyInfo.Rows[r].Cells[c];
if (cell != null)
{
if (sendingCb != null)
{
_projectInfo.ClassName = sendingCb.EditingControlFormattedValue.ToString();
SetButtonStates();
}
}
}
}