求一个c#.Net的winForm的小程序!急急急急

求一个c#.Net的winForm的小程序!急急急急,第1张

timer的enable初始状银厅态为false

private void button1_Click(object sender, EventArgs e)

{

timer1.Enabled = true

i = textBox1.Text.Trim().Length

}

string str = ""腔禅

int i=0

private void timer1_Tick(object sender, EventArgs e)

{

if (str.Length <i)

{

str = textBox1.Text.Trim().Substring(textBox1.Text.Trim().Length - 1) + str

}

textBox1.Text = textBox1.Text.Trim().Substring(0, textBox1.Text.Trim().Length - 1)

if (textBox1.Text.Length <= 0)

{

textBox1.Text = str

}

}

private void button2_Click(object sender, EventArgs e)

{

timer1.Enabled = false

str = "伍搏尘"

}

这此改种程序我以前做过,我把这个拦厅相关的代码写在百度空间了 地址是

http://hi.baidu.com/hapgaoyi/blog/item/2820a75133a0c5571138c259.html

如森衡判果还想进一步的了解,那么可以和我交流。

1.如果是WINDOWS API,你就不需要将尺局DLL放到程序目录下。

2.将让茄DLL放到WINDOWS\SYSTEM32下。

3.自己陵滑让在程序中写DLL的功能,不用别人的DLL。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/12347266.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-24
下一篇 2023-05-24

发表评论

登录后才能评论

评论列表(0条)

保存