예제 #1
0
        public static IIntProperty CreateBoolYN(IDDK ddk, IStruct structure, string name, string helpText = null)
        {
            IIntProperty result = result = structure.CreateBooleanProperty(name, helpText, "No", "Yes");

            return(result);
        }
예제 #2
0
        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);
        }