public static IIntProperty CreateBoolYN(IDDK ddk, IStruct structure, string name, string helpText = null) { IIntProperty result = result = structure.CreateBooleanProperty(name, helpText, "No", "Yes"); return(result); }
public static IIntProperty CreateBool(IDDK ddk, IStruct structure, string name, string helpText = null) { IIntProperty result = result = structure.CreateBooleanProperty(name, helpText, false.ToString(), true.ToString()); return(result); }