// <summary> /// 添加一个筛选条件 /// </summary> public void AddCondition(Conditionner condition, ConditionType AndOr) { if (gszConditionner != "") { gszConditionner += " " + (AndOr == ConditionType.And ? "and" : "or"); gszConditionner += " (" + condition.ToString() + ")"; } else { gszConditionner = "(" + condition.ToString() + ")"; } }
// <summary> /// 添加一个筛选条件 /// </summary> public void AddCondition(Conditionner condition) { AddCondition(condition, ConditionType.And); }