admin 管理员组

文章数量: 1086019


2024年3月8日发(作者:怎么求函数的反函数)

3: get 4: { 5: if (edIndex == -1) //当comboBox什么都没选时,SelectedIndex值为-1 6: return null; 7: else 8: { 9: if (edIndex == 0) 10: return true; 11: else 12: return false; 13: } 14: } 15: set 16: {

17: if (value == null) 18: edIndex = -1;

19: else 20: { 21: if (value == true) 22: edIndex = 0;

23: else 24: edIndex = 1;

25: } 26: } 27: }


本文标签: 没选 值为