111,093
社区成员




namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e) //保存输入的数据
{
double num1 = Convert.ToDouble(textBox1.Text);
}
private void button2_Click(object sender, EventArgs e) //显示输出的数据
{
textBox2.Text = num1.ToString();
}
}
}
private void button2_Click(object sender, EventArgs e) //显示输出的数据
{
double num1 = Convert.ToDouble(textBox1.Text);
textBox2.Text = num1.ToString();
}