1: /// <summary>
2: /// 嵌入的ComboxEdit控件选择值变化事件
3: /// </summary>
4: /// <param name="sender"></param>
5: /// <param name="e"></param>
6: private void repositoryItemComboBox_Gender_SelectedIndexChanged(object sender, EventArgs e)
7: {
8: if (!grdViewTest.IsNewItemRow(grdViewTest.FocusedRowHandle))
9: {
10: grdViewTest.CloseEditor();
11: grdViewTest.UpdateCurrentRow();
12: }
13: }