示例#1
0
        public bool IsOffsetExists(string offset, NSListView listview)
        {
            var func = new StructBuilderFunctions();

            for (var i = 0; i < listview.Items.Length; i++)
            {
                if (offset == func.Getoffsets(listview)[i])
                {
                    return(true);
                }
            }
            return(false);
        }
示例#2
0
        public bool IsNameExists(string name, NSListView listview)
        {
            var func = new StructBuilderFunctions();

            for (var i = 0; i < listview.Items.Length; i++)
            {
                if (name == func.Getnames(listview)[i])
                {
                    return(true);
                }
            }
            return(false);
        }