示例#1
0
        private void AddItemToSearchFor(ObjectTypes o, ObjectTypes initialState)
        {
            SearchForCustomItem item = new SearchForCustomItem(typeNames[o], o);
            bool on = ((initialState & o) == o);

            checkedListBox.Items.Add(item, on);
        }
示例#2
0
 private void AddItemToSearchFor(ObjectTypes o, ObjectTypes initialState)
 {
     SearchForCustomItem item = new SearchForCustomItem(typeNames[o], o);
     bool on = ((initialState & o) == o);
     checkedListBox.Items.Add(item, on);
 }