你好,我将一个栏位设置为combox ,我想在这个下拉菜单上添加change 事件,如何添加?
FarPoint.Win.Spread.CellType.ComboBoxCellType cb1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
string[] cbstrl;
cbstrl = new string[] { "A", "B", "C", "D", "E", "F", "G", "H" };
string[] strval;
strval = new string[] { "1", "2","3","4","5","6","7","8" };
cb1.Items = cbstrl;
cb1.ItemData = strval;
//cb1.selectIndexChanged = ???????????????????
fpCutBed.ActiveSheet.Columns[iCutPartType].CellType = cb1; |
|