private void button4_Click(object sender, EventArgs e) { gform.UpdateOptionItems("Cbxlist2", "J,Q,K,A"); gform.UpdateOptionItems("Cbxlist4", "五,六,七,八"); List <OptionItem> items1 = new List <OptionItem>(); items1.Add(new OptionItem { Key = "d1", Name = "新一" }); items1.Add(new OptionItem { Key = "d2", Name = "新2" }); items1.Add(new OptionItem { Key = "d3", Name = "新3" }); items1.Add(new OptionItem { Key = "d4", Name = "新4" }); items1.Add(new OptionItem { Key = "d5", Name = "新5" }); gform.UpdateOptionItems("Cbxlist1", items1); gform.UpdateOptionItems("Cbxlist3", items1); gform.UpdateOptionItems("RadioBtns1", items1); gform.UpdateOptionItems("RadioBtns2", "五,六,七,八"); gform.UpdateOptionItems("ComboBox1", items1); gform.UpdateOptionItems("ComboBox2", "J,Q,K,A"); }