public enum BindingFlags
}
|
ArrayList list = new ArrayList();
list.Add(new DictionaryEntry("0", "Default"));
list.Add(new DictionaryEntry("2", "IgnoreCase"));
list.Add(new DictionaryEntry("3", "DeclaredOnly"));
list.Add(new DictionaryEntry("4", "Instance"));
list.Add(new DictionaryEntry("8", "Static"));
list.Add(new DictionaryEntry("16", "Public"));
list.Add(new DictionaryEntry("32", "NonPublic"));
list.Add(new DictionaryEntry("64", "FlattenHierarchy"));
list.Add(new DictionaryEntry("256", "InvokeMethod"));
list.Add(new DictionaryEntry("512", "CreateInstance"));
list.Add(new DictionaryEntry("1024", "GetField"));
list.Add(new DictionaryEntry("2048", "SetField"));
list.Add(new DictionaryEntry("4096", "GetProperty"));
list.Add(new DictionaryEntry("8192", "SetProperty"));
list.Add(new DictionaryEntry("16384", "PutDispProperty"));
list.Add(new DictionaryEntry("32768", "PutRefDispProperty"));
list.Add(new DictionaryEntry("65536", "ExactBinding"));
list.Add(new DictionaryEntry("131072", "SuppressChangeType"));
list.Add(new DictionaryEntry("262144O", "ptionalParamBinding"));
list.Add(new DictionaryEntry("16777216", "IgnoreReturn"));

comboBox1.DataSource = list;
comboBox1.DisplayMember = "Value";
comboBox1.ValueMember = "Key";
|