01 02 03 04 | private void button1_Click(object sender, EventArgs e) { richTextBox1.Text = textBox1.Text.Length.ToString(); } |
01 02 03 04 | private void button2_Click(object sender, EventArgs e) { richTextBox1.Text = "只要你输入字符并单击计算就会自动 计算出长度哦 还不试试"; } |
欢迎光临 吾知网 (http://5g99.com/bbs/) | Powered by Discuz! X3.2 |