日期:2014-05-20 浏览次数:20945 次
private void button3_Click(object sender, EventArgs e)
{
ComboBox comboBox1 = null;
if (comboBox1 == null)
{
comboBox1 = new ComboBox();
comboBox1.FormattingEnabled = true;
comboBox1.Location = new System.Drawing.Point(159, 99);
comboBox1.Name = "comboBox1";
comboBox1.Size = new System.Drawing.Size(121, 20);
comboBox1.TabIndex = 2;
comboBox1.Text = "comboBox1";
comboBox1.Parent = this;
}
}