VBA,如何在窗体的标签内显示常用字(一个一个的显示)
2个回答
展开全部
tem.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication5
{
public partial class Form1 : Form
{
string s;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
s = textBox1.Text;
string b = s.ToUpper();
textBox1.Text = b;
}
private void button2_Click(object sender, EventArgs e)
{
s = textBox1.Text;
string b = s.ToLower();
textBox1.Text = b;
}
private void button3_Click(object sender, EventArgs e)
{
this.textBox1.Text = s;
}
}
}
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication5
{
public partial class Form1 : Form
{
string s;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
s = textBox1.Text;
string b = s.ToUpper();
textBox1.Text = b;
}
private void button2_Click(object sender, EventArgs e)
{
s = textBox1.Text;
string b = s.ToLower();
textBox1.Text = b;
}
private void button3_Click(object sender, EventArgs e)
{
this.textBox1.Text = s;
}
}
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询