为什么我点击BUTTON按钮之后没有反应?using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;namespace Params
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void UseParams(params string[] list)
{
for (int i = 0; i < list.Length; i++)
{
richTextBox1.AppendText(list[i] + "/r/n");
}
} private void UseParams1(params object[] list)
{
for (int i = 0; i < list.Length; i++)
{
richTextBox1.AppendText((object)list[i].ToString() + "/r/n");
}
} private void button1_Click(object sender, EventArgs e)
{
UseParams("how", "are", "you");
UseParams1(6, 'c', "good study!");
}
}
}
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;namespace Params
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void UseParams(params string[] list)
{
for (int i = 0; i < list.Length; i++)
{
richTextBox1.AppendText(list[i] + "/r/n");
}
} private void UseParams1(params object[] list)
{
for (int i = 0; i < list.Length; i++)
{
richTextBox1.AppendText((object)list[i].ToString() + "/r/n");
}
} private void button1_Click(object sender, EventArgs e)
{
UseParams("how", "are", "you");
UseParams1(6, 'c', "good study!");
}
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货