/// <summary> /// Verify whether Rules checkbox unchecked. /// </summary> /// <param></param> /// <returns></returns> public Boolean AreVEERulesUnChecked(string[] itemName) { int i = 0; while (i < itemName.Length) { if (CheckBoxVEERule.IsCommonChecked(itemName[i])) { return(false); } i++; } return(true); }
/// <summary> /// Verify whether climatic regions checkbox unchecked. /// </summary> /// <param></param> /// <returns></returns> public Boolean AreClimateRegionsUnChecked(string[] itemName) { int i = 0; while (i < itemName.Length) { if (ClimateRegionsCheckBox.IsCommonChecked(itemName[i])) { return(false); } i++; } return(true); }
/// <summary> /// Verfiy whether the default map info options checked /// </summary> public Boolean AreDefaultOptionsChecked() { //string[] publicOption = { "二氧化碳排放总量", "成本总量", "用电总量", "用水总量" }; string[] publicOption = { "[email protected]", "[email protected]", "[email protected]", "[email protected]" }; int i = publicOption.Length, j; for (j = 0; j < i; j++) { if (!(CustomerMapInfoCheckBoxField.IsCommonChecked(publicOption[j]))) { return(false); } } return(CustomerMapInfoCheckBoxField.IsCommonChecked(publicOption[j - 1])); }