日期:2014-05-17 浏览次数:20787 次
namespace 咆哮 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void txt_TextChanged(object sender, EventArgs e) { } private void Form1_Load(object sender, EventArgs e) { txt.Focus(); } private void btQk_Click(object sender, EventArgs e) { txt.Clear(); txt2.Clear(); } private void button1_Click(object sender, EventArgs e) { Application.Exit(); } private void btnPx_Click(object sender, EventArgs e) { Random r = new Random(); int x = r.Next(3, 12); string s = txt.Text; for (int i = 0; i < x; i++) { s = s + "!"; } txt2.Text=s.Replace(",", "").Replace(".","").Replace(",","").Replace("。",""); } } }